Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model fillable vs guarded

protected $guarded = ['*'];
// $fillable serves as a "white list" whereas $guarded functions serves like a "black list". One should use either $fillable or $guarded.
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #laravel #model #fillable #guarded
ADD COMMENT
Topic
Name
4+5 =