@@ 154-159 (lines=6) @@ | ||
151 | } |
|
152 | $namespacedClassPath = str_replace('\\', self::DS, $className); |
|
153 | $namespacedPathsCount = count($this->namespacedPaths); |
|
154 | for ($i = 0; $i < $namespacedPathsCount; $i++) { |
|
155 | $classPath = rtrim($this->namespacedPaths[$i], self::DS) . self::DS . $namespacedClassPath . self::EXT; |
|
156 | if (true == $this->includeClass($classPath)) { |
|
157 | return; |
|
158 | } |
|
159 | } |
|
160 | } |
|
161 | ||
162 | /** |
|
@@ 168-173 (lines=6) @@ | ||
165 | private function loadClass($className) { |
|
166 | $classesPathsCount = count($this->classesPaths); |
|
167 | ||
168 | for ($i = 0; $i < $classesPathsCount; $i++) { |
|
169 | $classPath = rtrim($this->classesPaths[$i], self::DS) . self::DS . $className . self::EXT; |
|
170 | if (true == $this->includeClass($classPath)) { |
|
171 | return; |
|
172 | } |
|
173 | } |
|
174 | } |
|
175 | ||
176 | /** |