No Binding But With Original

../_images/noBindingButOriginal.png

It is possible to change the underlying object of a closure. The new closure will be executed with the new object, with the same method.

On the other hand, it is not possible to call that closure on another class, even if that class has the same method, nor even if the class is a child of the original one. It must be the same original class.

See Also

PHP Error Messages

PHP Features