You are here

public function PHP_Token_INTERFACE::hasParent 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::hasParent()

Return value

boolean

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

File

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

Class

PHP_Token_INTERFACE

Code

public function hasParent() {
  return $this->tokenStream[$this->id + 4] instanceof PHP_Token_EXTENDS;
}