You are here

protected function FooCommand::configure in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/console/Tests/Fixtures/FooCommand.php \FooCommand::configure()
  2. 8 vendor/symfony/http-kernel/Tests/Fixtures/ExtensionPresentBundle/Command/FooCommand.php \Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command\FooCommand::configure()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Fixtures/FooCommand.php \FooCommand::configure()

Configures the current command.

Overrides Command::configure

File

vendor/symfony/console/Tests/Fixtures/FooCommand.php, line 12

Class

FooCommand

Code

protected function configure() {
  $this
    ->setName('foo:bar')
    ->setDescription('The foo:bar command')
    ->setAliases(array(
    'afoobar',
  ));
}