【发布时间】:2018-11-04 21:59:30
【问题描述】:
在 Laravel 中,有不同的方式使用部分:
@yield('section1') // Filled in by child view
@section('section2')
// Default content, can be overwritten by child
// Different ways of closing the section
@endsection|stop|show|append
谁能告诉我所有这些之间的确切区别是什么?
this、@stop 和 @endsection 的编码可能相同。 (其中一个已被弃用,但不再是)
【问题讨论】:
标签: php laravel laravel-5 laravel-blade