okaybueno / laravel-repositories

DEPRECATED – A neat repository Pattern implementation for Laravel.
https://www.okaybueno.com
MIT License
18 stars 6 forks source link

Use isFillable method from Eloquent model to clean unfillable fields #1

Closed marcorivm closed 5 years ago

marcorivm commented 6 years ago

The Eloquent Model exposes the isFillable method through the GuardsAttributes concern, using this method allows using only the guarded array without needing to explicitly set each fillable attribute.