Using __call with static classes?

nickf picture nickf · Jan 27, 2009 · Viewed 7.4k times · Source

Is it possible to use the __call magic method when calling functions statically?

Answer

David picture David · Jan 27, 2009

Not yet, there is a proposed (now available) __callStaticDocs 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.