The PHP convenient development tool set Belt is a convenient PHP development tool.
-
Boolean isDate (mixed $ value)
-
Boolean isNumber (mixed $ value)
-
Boolean isString (mixed $ value)
-
Boolean isFunction (mixed $ value)
-
Boolean isEmpty (mixed $ value)
-
Boolean isEqual (mixed $ left, mixed $ right)
-
Boolean isBoolean (mixed $ value)
-
Boolean isObject (mixed $ value)
-
Boolean isArray (mixed $ value)
-
Boolean isTraversable (mixed $ value)
-
Boolean isNull (mixed $ value)
-
Boolean has (mixed $ object, string $ key)
-
Array keys (mixed $ object)
-
Array values (mixed $ object)
-
Array methods (mixed $ object)
-
Mixed copy (mixed $ value)
-
Mixed extend (mixed $ source, mixed $ destination)
-
Mixed apply (mixed $ object, Closure $ closure)
-
Mixed defaults (mixed $ object, array | mixed $ defaults)
-
String escape (string $ string)
-
String id (string $ prefix = '')
-
Mixed with (mixed $ value)
-
Void times (integer $ number, Closure $ closure)
-
Mixed cache (Closure $ closure)
-
Mixed wrap (Closure $ closure, Closure $ wrapper)
-
Mixed compose (array $ closures, array $ arguments = array ())
-
Void once (Closure $ closure)
-
Mixed after (integer $ number, Closure $ closure)
-
Mixed | array first (array $ elements, integer $ amount = 1)
-
Array initial (array $ elements, integer $ amount = 1)
-
Array rest (array $ elements, integer $ index = 1)
-
Mixed | array last (array $ elements, integer $ amount = 1)
-
Array pack (array $ elements)
-
Array flatten (array $ elements)
-
Array range (integer $ to, integer $ from = 0, integer $ step = 1)
-
Array difference (array $ one, array $ another)
-
Array unique (array $ elements, Closure $ iterator = null)
-
Array without (array $ elements, array $ ignore)
-
Array zip (array $ one, array $ another)
-
Integer indexOf (array $ elements, mixed $ element)
-
Array intersection (array $ one, array $ another)
-
Array union (array $ one, array $ another)
-
Void each (array $ collection, Closure $ iterator)
-
Array map (array $ collection, Closure $ iterator)
-
Array toArray (mixed $ value)
-
Integer | null size (array | Countable $ value)
-
Array shuffle (array $ collection)
-
Boolean any (array $ collection, Closure $ iterator)
-
Boolean all (array $ collection, Closure $ iterator)
-
Array reject (array $ collection, Closure $ iterator)
-
Array pluck (array $ collection, string $ key)
-
Boolean contains (array $ collection, mixed $ value)
-
Array invoke (array $ collection, string $ function)
-
Mixed reduce (array $ collection, Closure $ iterator, mixed $ initial = 0)
-
Array sortBy (array $ collection, Closure $ iterator)
-
Array groupBy (array $ collection, Closure $ iterator)
-
Mixed max (array $ collection)
-
Mixed min (array $ collection)