/** * Return current element * * Returns the current element value inside wrapper object * * Method for the {@link Iterator} interface implementation * * @return AeObject_File current element or null, if array is empty */ public function current() { if (!$this->valid()) { return null; } return AeObject_File::wrap($this->_directory->path . SLASH . $this->_current); }