Showing 10 of 2,044 results.

getFirstError | The Document Parser

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...

Laravel 5: Accessing and Manipulating Session Data With session

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...

Laravel Artisan General Command: The env Command

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...