public function setAttribute(string $name, string $value) : Label
    {
        $this->tag->setAttribute($name, $value);

        return $this;
    }
public function setAttribute(string $name, string $value) : Label
    {
        $this->tag->setAttribute($name, $value);

        return $this;
    }
public function setAttribute ( string $ name , string $ value ) : Label { $ this -> tag -> setAttribute ( $ name , $ value ) ; return $ this ; }
Sets an attribute on the label tag.

@param string $name
@param string $value

@return Label
Sets an attribute on the label tag .