📜  如何在 laravel 中获取没有 getter 的属性 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:47.195000             🧑  作者: Mango

代码示例1
-> since Laravel 7.x and 8.x there is a new approach to access intact attribute:
// that skips accessors
$model->getRawOriginal('name');