You are here

public function TestIterator2::valid in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/_files/TestIterator2.php \TestIterator2::valid()

File

vendor/phpunit/phpunit/tests/_files/TestIterator2.php, line 26

Class

TestIterator2

Code

public function valid() {
  return key($this->data) !== null;
}