Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Skip model mutator laravel

since Laravel 7.x there is a new approach to access intact attribute:

// that skips mutators
$model->getRawOriginal('name');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Skip #model #mutator #laravel
ADD COMMENT
Topic
Name
5+7 =