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

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

Public Methods

Method Description
canParse ( Token $token ) : boolean
parse ( Token $token ) : FixtureReferenceValue Parses expressions such as "@user".

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 ) : FixtureReferenceValue
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
return Nelmio\Alice\Definition\Value\FixtureReferenceValue