@getSection

The @getSection directive is used in layout file like layout/main.ahmed.php.

Syntax

@getSection('sectionName')

Example

@getSection('content')

Then use @section and @endSection directives in content files like web/index.ahmed.php

Last updated