LMongo\Eloquent\Model::__set PHP Méthode

__set() public méthode

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