Pantheon\Terminus\Models\TerminusModel::set PHP 메소드

set() 공개 메소드

Sets an attribute
public set ( string $attribute, mixed $value )
$attribute string Name of the attribute key
$value mixed The value to assign to the attribute
    public function set($attribute, $value)
    {
        $this->attributes->{$attribute} = $value;
    }