1 Answer

0 votes
by

In Laravel, @yield is principally used to define a section in a layout and is constantly used to get content from a child page unto a master page. So, when the Laravel performs blade file, it first verifies if you have extended a master layout, if you have extended one, then it moves to the master layout and commences getting the @sections.

Related questions

0 votes
    What is the use of “yield” keyword in Python?...
asked Jan 9, 2021 in Technology by JackTerrance
0 votes
0 votes
    How to clear Cache in Laravel?...
asked Oct 1, 2021 in Technology by JackTerrance
0 votes
0 votes
    What are pros and cons of using Laravel Framework?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
0 votes
    What is Dependency Injection and its types in laravel?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    What is Inversion of Control in laravel, how to implement it....
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    List some Aggregates methods provided by query builder in Laravel ?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    What System requirements for installation of Laravel framework ?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    Why are migrations necessary in laravel?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    How many types of relationships available in Laravel Eloquent?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    How to use custom table in Laravel Modal ?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    What are Bundles in Laravel?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    Does Laravel support caching?...
asked Sep 30, 2021 in Technology by JackTerrance
...