registerCustomDirective | The Document Parser
Registers a single custom directive name. Argument Description $name The directive name. 1 <?php 2 3 public function registerCustomDirective ( 4 string $ name 5 ) : void ;
Showing 10 of 2,055 results.
Registers a single custom directive name. Argument Description $name The directive name. 1 <?php 2 3 public function registerCustomDirective ( 4 string $ name 5 ) : void ;
Retrieves the first error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ BladeError ; 4 5 public function...
The session function can be used to resolve the \Illuminate\Session\SessionManager instance from the service container, retrieve session values, and even set new session values. These different behaviors are controlled by the types, and number, of...
To return an instance of the \Illuminate\Session\SessionManager class, set the $key parameter to null . If the $key parameter is set to null , the $default parameter is completely ignored. 1 // Get the SessionManager instance. 2 $ sessionManager =...
The env command is used to simply return the name of the current framework environment. The environment name that is returned is set in the .env file (specifically whatever value is set for the APP_ENV entry). 1 # Display the current framework...
The divide helper method will take the given $array and create two new arrays. The first array will be all of the keys from the original $array and the second array will be all of the values.
The signature of the divide method is: 1 public static function divide ( 2 $ array 3 ) ;
The array_divide function is a shortcut to calling Arr::divide . This function is declared in the global namespace.
The signature of the wrap method is: 1 public static function wrap ( 2 $ value 3 ) ;
The array_wrap helper function is a shortcut to calling Arr:wrap . This function is declared in the global namespace.