PHP Class Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\TokenParserRegistry

Inheritance: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface, implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserAwareInterface, use trait Nelmio\Alice\IsAServiceTrait
显示文件 Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( array $parsers )
parse ( Token $token )
withParser ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser ) : self

Method Details

__construct() public method

public __construct ( array $parsers )
$parsers array

parse() public method

public parse ( Token $token )
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token

withParser() public method

public withParser ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser ) : self
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
return self