what does mean array($this, $some_method_string )? what does mean array($this, $some_method_string )? arrays arrays

what does mean array($this, $some_method_string )?


array($this, $some_method_string)

it is a valid callback , calling the method $some_method_string on $this :

with array_map , for every element of $some_data , call $this->$some_method_string(currentElement)


You have a function with a name, e.g. function my_function ....

You have to give the name of that function as a string or string variable.