Showing 7 of 1,216 result(s)
session($key = null, $default = null) The session function is a versatile function. It can be used to return the \Illuminate\Session \SessionManager instance, to set session values and to retrieve session values.
The following table will list every framework class that implements the __call method directly. The table will also indicate if the class supports macros even though it implements __call . Please note that the following table does not take into...
data_get($target, $key, $default = null) The data_get function is identical in behavior to both the array_get and object_get function. The difference is that the data_get function will accept both objects and arrays as its $target .
data_set(&$target, $key, $value, $overwrite = true) The data_set helper function can be used to set the value of an item in an array or an object property using dot notation. It accepts a reference to a $target array or object; the $key (array key...
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...
object_get($object, $key, $default = null) The object_get allows developers to retrieve properties from a given $object using dot notation. This is useful in situations where it can not be guaranteed that a supplied object will have a given...
trait_uses_recursive($trait) The trait_uses_recursive function will return an 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...