trait ManagesStacks (View source)
void | startPush(string $section, string $content = '') Start injecting content into a push section. | |
string | stopPush() Stop injecting content into a push section. | |
void | startPrepend(string $section, string $content = '') Start prepending content into a push section. | |
string | stopPrepend() Stop prepending content into a push section. | |
string | yieldPushContent(string $section, string $default = '') Get the string contents of a push section. | |
void | flushStacks() Flush all of the stacks. |
Start injecting content into a push section.
Stop injecting content into a push section.
Start prepending content into a push section.
Stop prepending content into a push section.
Get the string contents of a push section.
Flush all of the stacks.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/View/Concerns/ManagesStacks.html