You are here

public function PHP_Token_INTERFACE::hasInterfaces in Zircon Profile 8

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

Return value

boolean

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

File

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

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;
}