protected function checkMinute(\DateTime $now)
    {
        if ($this->parts['min'] != '*') {
            foreach ($this->parseRule($this->parts['min'], 0, 59) as $value) {
                if ($now->format('i') == $value) {
                    return true;
                }
            }

            return false;
        }

        return true;
    }
protected function checkMinute(\DateTime $now)
    {
        if ($this->parts['min'] != '*') {
            foreach ($this->parseRule($this->parts['min'], 0, 59) as $value) {
                if ($now->format('i') == $value) {
                    return true;
                }
            }

            return false;
        }

        return true;
    }
protected function checkMinute ( \ DateTime $ now ) { if ( $ this -> parts [ 'min' ] != '*' ) { foreach ( $ this -> parseRule ( $ this -> parts [ 'min' ] , 0 , 59 ) as $ value ) { if ( $ now -> format ( 'i' ) == $ value ) { return true ; } } return false ; } return true ; }
Check if the minute matches.

@param \DateTime $now

@return bool
Check if the minute matches .