for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartWeb\ModuleTesting\Console;
use Eloquent\Enumeration\AbstractValueMultiton;
use Symfony\Component\Console\Input\InputArgument;
/**
* Class InputArgumentType
*
* @method static static required()
* @method static static optional()
* @method static static requiredArray()
* @method static static optionalArray()
* @package SmartWeb\ModuleTesting\Console
*/
final class InputArgumentType extends AbstractValueMultiton
{
protected static function initializeMembers()
new static('required', InputArgument::REQUIRED);
new static('optional', InputArgument::OPTIONAL);
new static('requiredArray', InputArgument::REQUIRED | InputArgument::IS_ARRAY);
new static('optionalArray', InputArgument::OPTIONAL | InputArgument::IS_ARRAY);
}