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

Inheritance: extends AbstractChainableParserAwareParser
ファイルを表示 Open project: nelmio/alice Class Usage Examples

Public Methods

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

Private Methods

Method Description
parseElements ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser, string $elements )

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