/** * Key of current iteration position * * @group Iterator */ function key() { return $this->document->key(); }