Answers for "Skip model accessor"

1

Skip model accessor

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

// that skips mutators
$model->getRawOriginal('name');
Posted by: Guest on June-17-2021

Browse Popular Code Answers by Language