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

Inheritance: extends AbstractChainableParserAwareParser
Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

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

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