You are here

public static function ObjectsProvider::getInputArguments in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php \Symfony\Component\Console\Tests\Descriptor\ObjectsProvider::getInputArguments()
1 call to ObjectsProvider::getInputArguments()
AbstractDescriptorTest::getDescribeInputArgumentTestData in vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php

File

vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php, line 27

Class

ObjectsProvider
@author Jean-François Simon <contact@jfsimon.fr>

Namespace

Symfony\Component\Console\Tests\Descriptor

Code

public static function getInputArguments() {
  return array(
    'input_argument_1' => new InputArgument('argument_name', InputArgument::REQUIRED),
    'input_argument_2' => new InputArgument('argument_name', InputArgument::IS_ARRAY, 'argument description'),
    'input_argument_3' => new InputArgument('argument_name', InputArgument::OPTIONAL, 'argument description', 'default_value'),
    'input_argument_4' => new InputArgument('argument_name', InputArgument::REQUIRED, "multiline\nargument description"),
  );
}