Search

Showing 7 of 2,041 result(s)

/blog/2018/04/11/laravel-5-splitting-an-array-into-its-keys-and-values-with-divide#content-global-arraydivide-helper-function

The array_divide function is a shortcut to calling Arr::divide . This function is declared in the global namespace.

/blog/2018/04/14/laravel-5-generating-paths-relative-to-the-public-directory-with-public_path

The public_path will return the path to the public directory. It can also be used to construct paths relative to the public directory if a $path is supplied.The signature of the public_path function is:The following examples will assume that the...

/blog/2018/04/14/laravel-5-generating-paths-relative-to-the-storage-directory-with-storage_path

The storage_path will return the path to the storage directory. It can also be used to construct paths relative to the storage directory if a $path is supplied.The signature of the storage_path function is:The following examples will assume that...

/blog/2018/04/14/laravel-5-performing-http-redirects-with-redirect

The redirect helper function is a useful helper function and makes the task of returning HTTP redirects much easier from controller actions or from routes. The $to parameter is defined with a default value of null . When $to is null , the redirect...

/blog/2018/04/21/laravel-5-fluent-api-the-public-api#content-getting-keyvalue-data-associations-with-getattributes

The getAttributes method simply returns an array containing all key/value pairs, representing the underlying data contained within the Fluent instance.

/blog/2018/04/21/laravel-5-view-error-bags-determining-if-there-are-any-error-messages-with-any

The any method can be used to determine if the error message bag contains any messages. It is a convenience method and acts a shortcut to calling the count method within a conditional statement. The any method returns a boolean value.The signature...

/meerkat/advanced-reply-forms#content-replyopen-event-method

The replyOpen() method is called when the reply form is being presented to the user. If you previously hid the form for some reason, or would like to animate the appearance, you can do that here. You will receive an instance of the reply form as...