Answers for "laravel custom attribute setter and getter"

PHP
0

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');
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language