protected function InputDefinitionTest::initializeArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::initializeArguments()
12 calls to InputDefinitionTest::initializeArguments()
- InputDefinitionTest::testAddArgument in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - InputDefinitionTest::testAddArguments in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - InputDefinitionTest::testArgumentsMustHaveDifferentNames in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - @expectedException \LogicException @expectedExceptionMessage An argument with name "foo" already exists.
- InputDefinitionTest::testArrayArgumentHasToBeLast in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - @expectedException \LogicException @expectedExceptionMessage Cannot add an argument after an array argument.
- InputDefinitionTest::testConstructorArguments in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 421
Class
Namespace
Symfony\Component\Console\Tests\InputCode
protected function initializeArguments() {
$this->foo = new InputArgument('foo');
$this->bar = new InputArgument('bar');
$this->foo1 = new InputArgument('foo');
$this->foo2 = new InputArgument('foo2', InputArgument::REQUIRED);
}