public function PHP_Token_INTERFACE::hasInterfaces

1 call to PHP_Token_INTERFACE::hasInterfaces()
PHP_Token_INTERFACE::getInterfaces in drupal/core/vendor/phpunit/php-token-stream/PHP/Token.php

File

drupal/core/vendor/phpunit/php-token-stream/PHP/Token.php, line 602

Class

PHP_Token_INTERFACE

Code

public function hasInterfaces() {
  return isset($this->tokenStream[$this->id + 4]) && $this->tokenStream[$this->id + 4] instanceof PHP_Token_IMPLEMENTS || isset($this->tokenStream[$this->id + 8]) && $this->tokenStream[$this->id + 8] instanceof PHP_Token_IMPLEMENTS;
}