You are here

public function PHPUnit_Util_TestSuiteIterator::key in Zircon Profile 8

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

Returns the key of the current element.

Return value

int

File

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

Class

PHPUnit_Util_TestSuiteIterator
Iterator for test suites.

Code

public function key() {
  return $this->position;
}