method

converted_arrays

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Parameters
converted_arrays() public

Attribute that keeps track of converted arrays, if any, to avoid double looping in the common use case permit + mass-assignment. Defined in a method to instantiate it only if needed.

Testing membership still loops, but it’s going to be faster than our own loop that converts values. Also, we are not going to build a new array object per fetch.

Show source
Register or log in to add new notes.