⚡Chain method

The chaining-methods is member methods that returns an ArrayUtils instance.

This chaining-method returns an ArrayUtils instance. Because of this, allowing the calls to be chained together in a single statement without requiring variables to store the intermediate results.

For a detailed description of the method chaining method, click here

🔖Support prefix

Suffix - FromSuffix - As

You can use two prefix at once.

var_export(ArrayUtils::reverseFromAs([1,2,3,4,5]));
//array (0 => 5, 1 => 4, 2 => 3, 3 => 2, 4 => 1)

🔖Method list

chunk()column()combine()concat()concatSoft()countValues()diff()diffAssoc()diffKey()fill()fillKeys()filter()flat()flatMap()forEach()intersect()intersectAssoc()intersectKey()keys()map()mapAssoc()mapKey()pad()push()replace()reverse()slice()splice()sort()sortKey()unique()unshift()values()

Last updated