src/Carbon/Carbon.php
public function setTimeFrom($date)
    {
        $date = static::instance($date);

        $this->setTime($date->hour, $date->minute, $date->second);

        return $this;
    }
public function setTimeFrom($date)
    {
        $date = static::instance($date);

        $this->setTime($date->hour, $date->minute, $date->second);

        return $this;
    }
public function setTimeFrom ( $ date ) { $ date = static :: instance ( $ date ) ; $ this -> setTime ( $ date -> hour , $ date -> minute , $ date -> second ) ; return $ this ; }
Set the hour, day, and time for this instance to that of the passed instance.

@param \Carbon\Carbon|\DateTimeInterface $date

@return static
Set the hour day and time for this instance to that of the passed instance .