You are here

protected function DescriptorCommand1::configure in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php \Symfony\Component\Console\Tests\Fixtures\DescriptorCommand1::configure()

Configures the current command.

Overrides Command::configure

File

vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php, line 18

Class

DescriptorCommand1

Namespace

Symfony\Component\Console\Tests\Fixtures

Code

protected function configure() {
  $this
    ->setName('descriptor:command1')
    ->setAliases(array(
    'alias1',
    'alias2',
  ))
    ->setDescription('command 1 description')
    ->setHelp('command 1 help');
}