root/trunk/XJConf/XJConfClassLoader.php

Revision 115, 0.6 kB (checked in by mikey, 1 year ago)

ported to PHP 5.3.0-dev using namespaces
examples, integration tests and star build do not work at the moment

Line 
1 <?php
2 /**
3  * Interface for class loaders that can be used to load classes at runtime.
4  *
5  * @author  Frank Kleine <mikey@xjconf.net>
6  */
7 namespace net::xjconf;
8 /**
9  * Interface for class loaders that can be used to load classes at runtime.
10  *
11  * @package  XJConf
12  */
13 interface XJConfClassLoader
14 {
15     /**
16      * load the file with the given class
17      *
18      * @param  string  $fqClassName  the full qualified class name
19      */
20     public function loadClass($fqClassName);
21     
22     /**
23      * returns short class name
24      *
25      * @param  string  $fqClassName  the full qualified class name
26      */
27     public function getType($fqClassName);
28 }
29 ?>
Note: See TracBrowser for help on using the browser.