src/InputController/CLIController/CLIArgument.php
public static function make($name, $config) {
		$required = false;
		if( $config[0] === '+' ) {
			$required = true;
			$config = substr($config, 1);
		}
		list($shortName, $type) = explodeList(':', $config, 2);
		return new static($name, $shortName, $type, $required);
	}
public static function make($name, $config) {
		$required = false;
		if( $config[0] === '+' ) {
			$required = true;
			$config = substr($config, 1);
		}
		list($shortName, $type) = explodeList(':', $config, 2);
		return new static($name, $shortName, $type, $required);
	}
public static function make ( $ name , $ config ) { $ required = false ; if ( $ config [ 0 ] === '+' ) { $ required = true ; $ config = substr ( $ config , 1 ) ; } list ( $ shortName , $ type ) = explodeList ( ':' , $ config , 2 ) ; return new static ( $ name , $ shortName , $ type , $ required ) ; }
Make a CLIArgument from config

@param string $name
@param string $config
@return \Orpheus\InputController\CLIArgument
Make a CLIArgument from config