laravel Trying to get property of non-object 如何使用 Null Object 模式?