Showing 10 of 1,280 results.

Laravel String Helper Function: length

The length helper method simply returns the length of the given $value , using PHP's internal character encoding. The signature for the length helper method is: length($value) 1 use Illuminate \ Support \ Str ; 2 3 // 5 4 echo Str :: length ( '...

Laravel Artisan Tinker: The ls Command

The ls command is a useful command that can be used to learn more any class or instantiated object. It is capable of listing any defined variables, constants, functions, classes, interfaces, traits, properties and methods that might be defined in...

Laravel 5: Reporting Application Exceptions With report

The report function is used to report an exception to the applications exception handler. By default, the application exception handler is located at app/Exceptions/Handler.php . The report function will invoke the report method of the application...

Filter Search