You are here

public function TokenStream::push in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Parser/TokenStream.php \Symfony\Component\CssSelector\Parser\TokenStream::push()

Pushes a token.

Parameters

Token $token:

Return value

TokenStream

File

vendor/symfony/css-selector/Parser/TokenStream.php, line 64

Class

TokenStream
CSS selector token stream.

Namespace

Symfony\Component\CssSelector\Parser

Code

public function push(Token $token) {
  $this->tokens[] = $token;
  return $this;
}