Showing 10 of 2,055 results.

Echo Nodes | Parser Nodes Overview

The parser produces instances of Stillat\BladeParser\Nodes\EchoNode after it parses one of the three supported echo statement types. These types are: Echo, : Produced when parsing, {{ $variable }}, echo statements, TripleEcho, : Produced when...

extend | Blade Compiler

Register a custom Blade compiler extension. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::extend method. You do not need to manually call this method to sync compiler information if you use the default compiler...

if | Blade Compiler

Register an "if" statement directive. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::if method. You do not need to manually call this method to sync compiler information if you use the default compiler factory...

Laravel ViewErrorBag Public API: getBag

getBag($key = null) The getBag method can be used to retrieve a MessageBag instance associated with the provided $key . If a MessageBag instance does not exist with the provided $key , a new instance of Illuminate\Support\MessageBag will returned...

Laravel Artisan View Command: The view:clear Command

The view:clear command is used to quickly remove all of the compiled view files from the application. This is done by removing all the files from the configured view storage directory (by default this is the storage/framework/views/ directory)....

Laravel Collection Public API: isEmpty

isEmpty The isEmpty can be used to determine if the collection has items or not. If the collection has no items, true will be returned, otherwise false will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new...

Laravel Artisan Route Command: The route:clear Command

The route:clear command is used to clear any previously generated route cache files. It does this by removing the bootstrap/cache/routes.php cache file. It defines no parameters or options can can be called like so: 1 # Clear the route cache file....