class
Illuminate
/
Container
/
Util
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Util
Methods
public
static
arrayWrap ( $value ) : array
If the given value is not an array and not null, wrap it in one.
Parameters
- $value mixed
public
static
unwrapIfClosure ( $value , $args ) : mixed
Return the default value of the given value.
Parameters
- $value mixed
- $args mixed
public
static
getParameterClassName ( $parameter ) : string|null
Get the class name of the given parameter's type, if possible.
Parameters
- $parameter ReflectionParameter