Is it possible to use the __call
magic method when calling functions statically?
Not yet, there is a proposed (now available) __callStatic
Docs method in the pipeline last I knew. Otherwise __call
and the other __
magic methods are not available for use by anything but the instance of a object.
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