\fastArr

Summary

Methods
Properties
Constants
accessible()
exists()
get()
except()
forget()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

accessible()

accessible(mixed  $value) : boolean

Determine whether the given value is array accessible.

Parameters

mixed $value

Returns

boolean

exists()

exists(\ArrayAccess|array  $array, string|integer  $key) : boolean

Determine if the given key exists in the provided array.

Parameters

\ArrayAccess|array $array
string|integer $key

Returns

boolean

get()

get(\ArrayAccess|array  $array, string  $key, mixed  $default = null) : mixed

Get an item from an array using "dot" notation.

Parameters

\ArrayAccess|array $array
string $key
mixed $default

Returns

mixed

except()

except(array  $array, array|string  $keys) : array

Get all of the given array except for a specified array of items.

Parameters

array $array
array|string $keys

Returns

array

forget()

forget(array  $array, array|string  $keys) : void

Remove one or many array items from a given array using "dot" notation.

Parameters

array $array
array|string $keys