class Illuminate / Container / Util
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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 ) : mixed

Return the default value of the given value.

Parameters

  • $value mixed
public static

getParameterClassName ( $parameter ) : string|null

Get the class name of the given parameter's type, if possible.

Parameters