Posted On: Feb 25, 2020
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.
Never Miss an Articles from us.
Laravel is a free open source "PHP framework" based on the MVC design pattern. It is created by Taylor Otwell...