| @@ 129-137 (lines=9) @@ | ||
| 126 | * |
|
| 127 | * @return bool |
|
| 128 | */ |
|
| 129 | public function namespaceIsRegistered($namespace) { |
|
| 130 | foreach($this->registeredNamespaces as $key => $registeredNamespace) { |
|
| 131 | if($registeredNamespace[0] == $namespace) { |
|
| 132 | return TRUE; |
|
| 133 | } |
|
| 134 | } |
|
| 135 | ||
| 136 | return FALSE; |
|
| 137 | } |
|
| 138 | ||
| 139 | } |
|
| 140 | ||
| @@ 124-132 (lines=9) @@ | ||
| 121 | * |
|
| 122 | * @return bool |
|
| 123 | */ |
|
| 124 | public function namespaceIsRegistered($namespace) { |
|
| 125 | foreach($this->registeredNamespaces as $key => $registeredNamespace) { |
|
| 126 | if($registeredNamespace[0] == $namespace) { |
|
| 127 | return TRUE; |
|
| 128 | } |
|
| 129 | } |
|
| 130 | ||
| 131 | return FALSE; |
|
| 132 | } |
|
| 133 | ||
| 134 | } |
|
| 135 | ||