Sorry if it might appear very simple, but what does that mean:
array($this, $some_method_string)
in this piece of code:
array_map(array($this, $some_method_string), $some_data)
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With