Phue\Schedule::setStatus PHP Method

setStatus() public method

Set status.
public setStatus ( string $status ) : self
$status string Status.
return self This object
    public function setStatus($status)
    {
        $x = new SetScheduleAttributes($this);
        $y = $x->status((string) $status);
        $this->client->sendCommand($y);
        $this->attributes->status = (string) $status;
        return $this;
    }