The @getSection directive is used in layout file like layout/main.ahmed.php.
@getSection
layout/main.ahmed.php
@getSection('sectionName')
@getSection('content')
Then use @section and @endSection directives in content files like web/index.ahmed.php
@section
@endSection
web/index.ahmed.php
Last updated 11 months ago