PHP Class Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\ParameterTokenParser

Inheritance: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface, use trait Nelmio\Alice\IsAServiceTrait
Mostra file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
canParse ( Token $token ) : boolean
parse ( Token $token ) : ParameterValue Parses '<{paramKey}>', '<{nested_<{param}>}>', etc.

Method Details

canParse() public method

public canParse ( Token $token ) : boolean
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
return boolean

parse() public method

public parse ( Token $token ) : ParameterValue
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
return Nelmio\Alice\Definition\Value\ParameterValue