Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\TolerantFunctionTokenParser::__construct PHP Method

__construct() public method

public __construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface $functionTokenParser, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser = null )
$functionTokenParser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
    public function __construct(ChainableTokenParserInterface $functionTokenParser, ParserInterface $parser = null)
    {
        parent::__construct($parser);
        if (null !== $parser && $functionTokenParser instanceof ParserAwareInterface) {
            $functionTokenParser = $functionTokenParser->withParser($parser);
        }
        $this->functionTokenParser = $functionTokenParser;
    }