标签: php laravel laravel-blade
如何访问$ employee-> role()-> roleName()-> first()->名称
因为我无法访问关系模型的关系:
You Can check the Collection by clicking here
<script async src="//jsfiddle.net/01g693xq/1/embed/"></script>
答案 0 :(得分:0)
尝试一下:
earliest