Abstract a class away from PHP script?
<p>Just wondering if there is anyway to have PHP just run a certain class given the name of the file (controller.php)?</p>

<p>I don't want to require, include or see any signs of it in the controller.php. I just want it to be there.</p>

<p>EDIT: Ok. What I mean by run is in some file hidden away from me I say something like... $class = new Class(); This way I can use $class in my controller.php</p>

<p>ALSO: I'm running PHP 5.3 - So I have namespaces and whatnot.</p>

<p>Anyway of doing this??</p>

<p>Thanks!
Matt Mueller</p>
