Silber\Bouncer\Database\Models::make PHP Method

make() protected static method

Get an instance of the given model.
protected static make ( string $model, array $attributes = [] ) : Model
$model string
$attributes array
return Illuminate\Database\Eloquent\Model
    protected static function make($model, array $attributes = [])
    {
        $model = static::classname($model);
        return new $model($attributes);
    }