src/CLI/Command/ArgumentParser.php
protected function onReady( $sign, &$status, &$buffer, &$option )
	{
		if( $sign == "-" )
		{
			$option	= "";
			$status	= self::STATUS_READ_OPTION_KEY;
		}
		else if( preg_match( "@[a-z0-9]@i", $sign ) )
		{
			$buffer	.= $sign;
			$status	= self::STATUS_READ_ARGUMENT;
		}
	}
protected function onReady( $sign, &$status, &$buffer, &$option )
	{
		if( $sign == "-" )
		{
			$option	= "";
			$status	= self::STATUS_READ_OPTION_KEY;
		}
		else if( preg_match( "@[a-z0-9]@i", $sign ) )
		{
			$buffer	.= $sign;
			$status	= self::STATUS_READ_ARGUMENT;
		}
	}
protected function onReady ( $ sign , & $ status , & $ buffer , & $ option ) { if ( $ sign == "-" ) { $ option = "" ; $ status = self :: STATUS_READ_OPTION_KEY ; } else if ( preg_match ( "@[a-z0-9]@i" , $ sign ) ) { $ buffer .= $ sign ; $ status = self :: STATUS_READ_ARGUMENT ; } }
Handles current Sign in STATUS_READY.
@access		protected
@param		string		$sign		Sign to handle
@param		int			$status		Status Reference
@param		string		$buffer		Argument Buffer Reference
@param		string		$option		Option Buffer Reference
@return		void
Handles current Sign in STATUS_READY .