public function current()
    {
        if ($this->valid()) {
            $key = $this->baseArrayMap[$this->iteratorIterationPosition];
            $value = $this->baseConcreteData[$key];
            return $this->internalFilterHooks($key, $value, 'output') ?
                $this->internalSanitizeHooks($key, $value, 'output') : null;
        }
    }
public function current()
    {
        if ($this->valid()) {
            $key = $this->baseArrayMap[$this->iteratorIterationPosition];
            $value = $this->baseConcreteData[$key];
            return $this->internalFilterHooks($key, $value, 'output') ?
                $this->internalSanitizeHooks($key, $value, 'output') : null;
        }
    }
public function current ( ) { if ( $ this -> valid ( ) ) { $ key = $ this -> baseArrayMap [ $ this -> iteratorIterationPosition ] ; $ value = $ this -> baseConcreteData [ $ key ] ; return $ this -> internalFilterHooks ( $ key , $ value , 'output' ) ? $ this -> internalSanitizeHooks ( $ key , $ value , 'output' ) : null ; } }
this is necessary for Iterator Interface and return current element
@return mixed current element or null
this is necessary for Iterator Interface and return current element