Phue\Condition::setAttribute PHP Method

setAttribute() public method

Set attribute to target condition
public setAttribute ( string $attribute ) : self
$attribute string Attribute
return self This object
    public function setAttribute($attribute)
    {
        $this->attribute = (string) $attribute;
        return $this;
    }