root/tags/RELEASE_0_2_1/XJConf/XJConfClassLoader.php

Revision 46, 0.6 kB (checked in by mikey, 2 years ago)

added possibility to use class loaders

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 /**
8  * Interface for class loaders that can be used to load classes at runtime.
9  *
10  * @package  XJConf
11  */
12 interface XJConfClassLoader
13 {
14     /**
15      * load the file with the given class
16      *
17      * @param  string  $fqClassName  the full qualified class name
18      */
19     public function loadClass($fqClassName);
20     
21     /**
22      * returns short class name
23      *
24      * @param  string  $fqClassName  the full qualified class name
25      */
26     public function getType($fqClassName);
27 }
28 ?>
Note: See TracBrowser for help on using the browser.