@@ 412-416 (lines=5) @@ | ||
409 | if (isset($this->prefixesPsr0[$first])) { |
|
410 | foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { |
|
411 | if (0 === strpos($class, $prefix)) { |
|
412 | foreach ($dirs as $dir) { |
|
413 | if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
414 | return $file; |
|
415 | } |
|
416 | } |
|
417 | } |
|
418 | } |
|
419 | } |
|
@@ 422-426 (lines=5) @@ | ||
419 | } |
|
420 | ||
421 | // PSR-0 fallback dirs |
|
422 | foreach ($this->fallbackDirsPsr0 as $dir) { |
|
423 | if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
424 | return $file; |
|
425 | } |
|
426 | } |
|
427 | ||
428 | // PSR-0 include paths. |
|
429 | if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { |