Lorenzo Sanzari

Results 2 comments of Lorenzo Sanzari

I do not understand why it should be a problem that it is not a "real callable". It is a callable "DEFINITION", (as it happens in most frameworks), and sincerely...

I you want, we can also do something like this: .... if (is_array($callback) && is_string($callback[0]) && isset($callback[1])) { $classname = $callback[0]; $method = $callback[1]; if (class_exists($classname)) { $r_method = new...