/** * @inheritdoc */ public function supports(TokenStream $tokenStream) { return $tokenStream->test(Token::T_STRING) && $tokenStream->lookAhead()->test(Token::T_OPERATOR, $this->getOperatorNames()); }