public function InputOptionTest::testDefaultValueWithIsArrayMode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputOptionTest.php \Symfony\Component\Console\Tests\Input\InputOptionTest::testDefaultValueWithIsArrayMode()
@expectedException \LogicException @expectedExceptionMessage A default value for an array option must be an array.
File
- vendor/
symfony/ console/ Tests/ Input/ InputOptionTest.php, line 176
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testDefaultValueWithIsArrayMode() {
$option = new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY);
$option
->setDefault('default');
}