Technical Docs

Search Documentation


Drop-in replacement for array_unique(), designed to operate on an array of arrays where each inner array is populated with strings (or types that can be stringified while essentially keeping their unique value).

Returns a lambda function suitable to use as a callback; when called the function will build the implementation bound to `$classOrInterface` and return the value of a call to `$method` method with the call arguments.