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

Inheritance: extends AbstractChainableParserAwareParser
Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
canParse ( Token $token ) : boolean
parse ( Token $token ) : FixturePropertyValue Parses tokens values like "@user->username".

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