Phue\Schedule::setName PHP Method

setName() public method

Set name of schedule
public setName ( string $name ) : self
$name string
return self This object
    public function setName($name)
    {
        $x = new SetScheduleAttributes($this);
        $y = $x->name((string) $name);
        $this->client->sendCommand($y);
        $this->attributes->name = (string) $name;
        return $this;
    }