You are here

public function PHPUnit_Util_TestSuiteIterator::hasChildren in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Util/TestSuiteIterator.php \PHPUnit_Util_TestSuiteIterator::hasChildren()

Checks whether the current element has children.

Return value

bool

File

vendor/phpunit/phpunit/src/Util/TestSuiteIterator.php, line 99

Class

PHPUnit_Util_TestSuiteIterator
Iterator for test suites.

Code

public function hasChildren() {
  return $this->tests[$this->position] instanceof PHPUnit_Framework_TestSuite;
}