Mark V
1: <?php
2: namespace MOC\V\Core\AutoLoader\Component;
3:
4: use MOC\V\Core\AutoLoader\Component\Parameter\Repository\DirectoryParameter;
5: use MOC\V\Core\AutoLoader\Component\Parameter\Repository\NamespaceParameter;
6:
7: /**
8: * Interface IBridgeInterface
9: *
10: * @package MOC\V\Core\AutoLoader\Component
11: */
12: interface IBridgeInterface
13: {
14:
15: /**
16: * @return string
17: */
18: public function getLoaderHash();
19:
20: /**
21: * @return IBridgeInterface
22: */
23: public function registerLoader();
24:
25: /**
26: * @return IBridgeInterface
27: */
28: public function unregisterLoader();
29:
30: /**
31: * @param string $ClassName
32: *
33: * @return bool
34: */
35: public function loadSourceFile($ClassName);
36:
37: /**
38: * @param NamespaceParameter $Namespace
39: * @param DirectoryParameter $Directory
40: *
41: * @return IBridgeInterface
42: */
43: public function addNamespaceDirectoryMapping(NamespaceParameter $Namespace, DirectoryParameter $Directory);
44: }
45: