Answers for "octobercms model add fillable"

0

octobercms model add fillable

YourModel::extend(function($model) {
    $model->addFillable([
        'fillable',
        'field',
        'names'
    ]);
});
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language