Phue\Schedule::setTime PHP Method

setTime() public method

Set time
public setTime ( string $time ) : self
$time string Time
return self This object
    public function setTime($time)
    {
        // $this->client->sendCommand(
        // (new SetScheduleAttributes($this))
        // ->time($time)
        // );
        $x = new SetScheduleAttributes($this);
        $y = $x->time($time);
        $this->client->sendCommand($y);
        $this->attributes->time = (string) $time;
        return $this;
    }