You are here

public function BarCommand::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Fixtures/ExtensionPresentBundle/Command/BarCommand.php \Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command\BarCommand::__construct()

Constructor.

Parameters

string|null $name The name of the command; passing null means it must be set in configure():

Throws

\LogicException When the command name is empty

Overrides Command::__construct

File

vendor/symfony/http-kernel/Tests/Fixtures/ExtensionPresentBundle/Command/BarCommand.php, line 15

Class

BarCommand
This command has a required parameter on the constructor and will be ignored by the default Bundle implementation.

Namespace

Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command

Code

public function __construct($example, $name = 'bar') {
}