public function current()
    {
        $minute      = current( $this->minutes );
        $hour        = current( $this->hours );
        $monthAndDay = current( $this->monthAndDays );

        $currentElement = strtotime(
            sprintf(
                '%d-%s %02d:%02d:00',
                $this->year + $this->yearOffset, $monthAndDay, $hour, $minute
            )
        );

        if ( $currentElement < $this->getCurrentTime() )
        {
            $currentElement = $this->getNextFutureTimestamp();
        }

        return $currentElement;
    }
public function current()
    {
        $minute      = current( $this->minutes );
        $hour        = current( $this->hours );
        $monthAndDay = current( $this->monthAndDays );

        $currentElement = strtotime(
            sprintf(
                '%d-%s %02d:%02d:00',
                $this->year + $this->yearOffset, $monthAndDay, $hour, $minute
            )
        );

        if ( $currentElement < $this->getCurrentTime() )
        {
            $currentElement = $this->getNextFutureTimestamp();
        }

        return $currentElement;
    }
public function current ( ) { $ minute = current ( $ this -> minutes ) ; $ hour = current ( $ this -> hours ) ; $ monthAndDay = current ( $ this -> monthAndDays ) ; $ currentElement = strtotime ( sprintf ( '%d-%s %02d:%02d:00' , $ this -> year + $ this -> yearOffset , $ monthAndDay , $ hour , $ minute ) ) ; if ( $ currentElement < $ this -> getCurrentTime ( ) ) { $ currentElement = $ this -> getNextFutureTimestamp ( ) ; } return $ currentElement ; }
Iterator interface function returning the current element

@return int Current crontimestamp
Iterator interface function returning the current element