You are here

public function PHP_Token_Stream::offsetExists in Zircon Profile 8

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

Parameters

integer $offset:

Return value

boolean

2 calls to PHP_Token_Stream::offsetExists()
PHP_Token_Stream::offsetGet in vendor/phpunit/php-token-stream/src/Token/Stream.php
PHP_Token_Stream::offsetUnset in vendor/phpunit/php-token-stream/src/Token/Stream.php

File

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

Class

PHP_Token_Stream
A stream of PHP tokens.

Code

public function offsetExists($offset) {
  return isset($this->tokens[$offset]);
}