src/Modules/PSR0/PSR0ClassLoaderModule.php 1 location
|
@@ 114-120 (lines=7) @@
|
111 |
|
* |
112 |
|
* @param string $namespace The namespace name |
113 |
|
*/ |
114 |
|
public function unRegisterNamespace($namespace) { |
115 |
|
foreach($this->registeredNamespaces as $key => $registeredNamespace) { |
116 |
|
if($registeredNamespace[0] == $namespace) { |
117 |
|
unset($this->registeredNamespaces[$key]); |
118 |
|
} |
119 |
|
} |
120 |
|
} |
121 |
|
|
122 |
|
/** |
123 |
|
* Determines that the given namespace nem is registered in this module |
src/Modules/PSR4/PSR4ClassLoaderModule.php 1 location
|
@@ 109-115 (lines=7) @@
|
106 |
|
* |
107 |
|
* @param string $namespace The namespace name |
108 |
|
*/ |
109 |
|
public function unRegisterNamespace($namespace) { |
110 |
|
foreach($this->registeredNamespaces as $key => $registeredNamespace) { |
111 |
|
if($registeredNamespace[0] == $namespace) { |
112 |
|
unset($this->registeredNamespaces[$key]); |
113 |
|
} |
114 |
|
} |
115 |
|
} |
116 |
|
|
117 |
|
/** |
118 |
|
* Determines that the given namespace nem is registered in this module |