This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// outputs a single blank line | |
$this->io->text('Line 01-01'); | |
$this->io->newLine(); | |
$this->io->text('Line 01-02'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->definitionList( | |
'This is a title', | |
['foo1' => 'bar1'], | |
['foo2' => 'bar2'], | |
['foo3' => 'bar3'], | |
new \Symfony\Component\Console\Helper\TableSeparator(), | |
'This is another title', | |
['foo4' => 'bar4'] | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->horizontalTable( | |
['Header 1', 'Header 2'], | |
[ | |
['Cell 1-1', 'Cell 1-2'], | |
['Cell 2-1', 'Cell 2-2'], | |
['Cell 3-1', 'Cell 3-2'], | |
] | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->table( | |
['Header 1', 'Header 2'], | |
[ | |
['Cell 1-1', 'Cell 1-2'], | |
['Cell 2-1', 'Cell 2-2'], | |
['Cell 3-1', 'Cell 3-2'], | |
] | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->listing([ | |
'Element #1 Lorem ipsum dolor sit amet', | |
'Element #2 Lorem ipsum dolor sit amet', | |
'Element #3 Lorem ipsum dolor sit amet', | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->text('Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.'); | |
// with array: | |
$this->io->text([ | |
'Lorem ipsum dolor sit amet,', | |
'consectetuer adipiscing elit. Aenean commodo ligula eget dolor.' | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->section('Neuer Abschnitt'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->io->title('TestTitle'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Esit\Easyfewo\Classes\Commands; | |
use Contao\CoreBundle\Framework\ContaoFramework; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Style\SymfonyStyle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// src/Command/GreetCommand.php | |
namespace App\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
class GreetCommand extends Command | |
{ |