Search

Showing 7 of 1,975 result(s)

/blog/2016/11/21/laravel-facades-part-four-facade-class-reference#content-connectionname

The connection method will return a new schema builder ( Illuminate\Database\Schema\Builder ) instance for the given connection. The $name is the name of the connection as it appears in the database configuration file.

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

…ask as the data_set helper function. The only difference is that the data_fill does not define an optional $overwrite parameter. data_fill internally makes a call to the data_set (discussed in the Laravel Miscellaneous Helper Function: data_set...

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

dd() The dd function is a debug utility that will dump a set of values and then die. This means it will create a human-readable representation of the values and then stop execution of the script. The dd function will take into account if the...

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

…array of all the traits that are used by a class. It will also return any traits that the traits are using. Given the traits and class: The traits used by ExampleClass can be determined by: The $traits variable would contain the following array:...

/blog/2016/11/21/laravel-router-helper-function-resource

resource($name, $controller, array $options = []) The resource function is a shortcut that is used to register a resource controller with the router. It accepts the $name of the route to create, the name of the $controller and an array of $options...

/blog/2016/11/30/laravel-string-pluralization#content-message-tags

…tags act as a sort of comment to help explain the various translation messages when dealing with pluralization. Tags appear at the beginning of a translation message, contain no spaces and end with one colon character ( : ). The following code...

/blog/2016/11/30/laravels-bcrypt-hasher

…alias for the Illuminate\Contracts\Hashing\Hasher interface). The following code sample would return an instance of the Bcrypt hasher by default: The Bcrypt hasher is also used by the bcrypt application helper function. It actually uses the above...