/** * (PHP 5 >= 5.1.0)<br/> * Return the key of the current element * @link http://php.net/manual/en/iterator.key.php * @return scalar scalar on success, integer * 0 on failure. */ public function key() { return $this->current->getBegin()->format('m'); }