Catch requests to non-existent classes (not autoload)

Posted by Spot on Stack Overflow See other posts from Stack Overflow or by Spot
Published on 2010-06-16T21:55:57Z Indexed on 2010/06/16 22:02 UTC
Read the original article Hit count: 139

Filed under:
|
|
|

Is there a manner in which to catch requests to a class which does not exist.

I'm looking for something exactly like __call() and __static(), but for classes as opposed to methods in a class.

I am not talking about autoloading. I need to be able to interrupt the request and reroute it.

Ideas?

© Stack Overflow or respective owner

Related posts about php

Related posts about oop