Showing 7 of 2,041 result(s)
The array_divide function is a shortcut to calling Arr::divide . This function is declared in the global namespace.
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...
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...
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...
The getAttributes method simply returns an array containing all key/value pairs, representing the underlying data contained within the Fluent instance.
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...
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...