Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\IdentityTokenParser::withParser PHP Method

withParser() public method

public withParser ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser ) : self
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
return self
    public function withParser(ParserInterface $parser) : self
    {
        return new static($this->decoratedTokenParser, $parser);
    }