You are here

public function PHP_CodeCoverage_Report_Node_Iterator::key in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php \PHP_CodeCoverage_Report_Node_Iterator::key()

Returns the key of the current element.

Return value

int

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php, line 61

Class

PHP_CodeCoverage_Report_Node_Iterator
Recursive iterator for PHP_CodeCoverage_Report_Node object graphs.

Code

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