LMongo\Eloquent\Model::__set PHP Method

__set() public method

Dynamically set attributes on the model.
public __set ( string $key, mixed $value ) : void
$key string
$value mixed
return void
    public function __set($key, $value)
    {
        $this->setAttribute($key, $value);
    }
Model