public function sameValueAs(ValueObjectInterface $time)
    {
        if (false === Util::classEquals($this, $time)) {
            return false;
        }

        return $this->getHour()->sameValueAs($time->getHour()) && $this->getMinute()->sameValueAs($time->getMinute()) && $this->getSecond()->sameValueAs($time->getSecond());
    }
public function sameValueAs(ValueObjectInterface $time)
    {
        if (false === Util::classEquals($this, $time)) {
            return false;
        }

        return $this->getHour()->sameValueAs($time->getHour()) && $this->getMinute()->sameValueAs($time->getMinute()) && $this->getSecond()->sameValueAs($time->getSecond());
    }
public function sameValueAs ( ValueObjectInterface $ time ) { if ( false === Util :: classEquals ( $ this , $ time ) ) { return false ; } return $ this -> getHour ( ) -> sameValueAs ( $ time -> getHour ( ) ) && $ this -> getMinute ( ) -> sameValueAs ( $ time -> getMinute ( ) ) && $ this -> getSecond ( ) -> sameValueAs ( $ time -> getSecond ( ) ) ; }
Tells whether two Time are equal by comparing their values

@param  ValueObjectInterface $time
@return bool
Tells whether two Time are equal by comparing their values