Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how can get attribute without getter in laravel

-> 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: #attribute #getter #laravel
ADD COMMENT
Topic
Name
9+1 =