Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\SimpleParser::__construct PHP Method

__construct() public method

public __construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface $lexer, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface $tokenParser )
$lexer Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface
$tokenParser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface
    public function __construct(LexerInterface $lexer, TokenParserInterface $tokenParser)
    {
        $this->lexer = $lexer;
        $this->tokenParser = $tokenParser instanceof ParserAwareInterface ? $tokenParser->withParser($this) : $tokenParser;
    }