You are here

public function PHP_Token_Stream::current in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-token-stream/src/Token/Stream.php \PHP_Token_Stream::current()

Return value

PHP_Token

File

vendor/phpunit/php-token-stream/src/Token/Stream.php, line 508

Class

PHP_Token_Stream
A stream of PHP tokens.

Code

public function current() {
  return $this->tokens[$this->position];
}