Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/the-validate-command#content-no-directive-arguments

Class : NoArgumentsValidator The no directive arguments validator emits a validation error when directive's that should not contain arguments have arguments in the template. The following template: 1 @ endphp ($args) will emit the following...

/blog/2016/11/16/laravel-string-helper-function-singular

The singular helper method is the logical opposite to the plural method: it will attempt to take a given $value and return the singular form of that word. The internal mechanisms are similar to the plural method. The signature for the singular...

/blog/2016/11/18/laravel-array-helper-function-array_divide

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 final result would be:The array_divide function is...

/blog/2016/11/20/laravel-application-helper-app

app($make = null, $parameters = []) The app function provides access to the Illuminate\Container\Container instance. Because Container is a singleton, any call to app() will return the same Container instance. The app function can also be used to...

/blog/2016/11/20/laravel-application-helper-app_path

…path to the Laravel application directory (which is named app by default). The exact value returned by calling app_path is dependent on the specific folder structure where the application is residing. An example path returned might look like...

/blog/2016/11/20/laravel-array-helper-function-array_where

where($array, callable $callback) The where helper method is functionally similar to the pluck method, in that both take a source $array and filter it to produce a smaller array. It works by iterating over each element in the $array and executing...

/blog/2016/11/20/laravel-helper-function-decrypt

decrypt($value) The decrypt helper function can be used to decrypt a given $value . The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the decrypt method on the...