protected function InputDefinitionTest::initializeOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::initializeOptions()
14 calls to InputDefinitionTest::initializeOptions()
- InputDefinitionTest::testAddDuplicateOption in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - @expectedException \LogicException @expectedExceptionMessage An option named "foo" already exists.
- InputDefinitionTest::testAddDuplicateShortcutOption in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - @expectedException \LogicException @expectedExceptionMessage An option with shortcut "f" already exists.
- InputDefinitionTest::testAddOption in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - InputDefinitionTest::testAddOptions in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php - InputDefinitionTest::testConstructorOptions in vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 429
Class
Namespace
Symfony\Component\Console\Tests\InputCode
protected function initializeOptions() {
$this->foo = new InputOption('foo', 'f');
$this->bar = new InputOption('bar', 'b');
$this->foo1 = new InputOption('fooBis', 'f');
$this->foo2 = new InputOption('foo', 'p');
$this->multi = new InputOption('multi', 'm|mm|mmm');
}