Search

Showing 7 of 1,697 result(s)

/blade-parser/v1/parser-errors

The parser, and other related systems, are capable of reporting various errors under certain circumstances. For instance, the document parser will create errors if a @verbatim directive is not paired correctly with an @endverbatim directive....

/blog/2016/12/07/laravel-artisan-interacting-with-commands#content-supplying-array-data

Some commands accept multiple pieces of information to be stored in the same input argument; array parameters are defined as the last parameter in a commands signature so that there is no ambiguity between array data and other input parameters....

/blog/2016/12/07/laravel-artisan-interacting-with-commands#content-entering-data

…e information for make:model Artisan command (obtained by executing the php artisan make:model -h command): As we can see the command expects the name of the new model class; this is displayed in angle brackets. The name of the command and the...

/blog/2018/02/20/laravel-5-string-translation-public-api#content-specifying-a-locale

By default, the get method will look for the translation lines using the locale specified as the default with the translation service. However, we can specify a locale by supplying an argument for the $locale parameter. For the following example,...

/blog/2014/07/19/procedure-vs-function-vs-method-vs

…ions for those terms that are only slightly different from each other. A good example of terms like this are procedure , function , method and the anonymous function . With the exception of the anonymous function all of these terms are, for the...

/blog/2016/11/21/laravel-miscellaneous-helper-function-tap

tap($value, $callback) The tap helper function is used to call a given Closure (provided as an argument to the $callback parameter) with the given $value . The tap helper function will return the reference to the original $value as its return...

/blog/2018/02/19/laravel-5-translation-using-the-double-underscore-__-helper-function#content-supplying-a-locale

For the next example, we will create a new file at resources/lang/es.json to both showcase literal based language files as well as how the $locale parameter can be used. Note: with JSON based language files, there is only one file per locale...