📜  Laravel 雄辩技巧 - PHP 代码示例

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

代码示例7
public function author()
{
    return $this->belongsTo(Author::class)->withDefault();
}