Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Skip model mutator

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

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