| @@ 128-132 (lines=5) @@ | ||
| 125 | } |
|
| 126 | ||
| 127 | $first = $prefix[0]; |
|
| 128 | if (!isset($this->prefixesPsr0[$first][$prefix])) { |
|
| 129 | $this->prefixesPsr0[$first][$prefix] = (array) $paths; |
|
| 130 | ||
| 131 | return; |
|
| 132 | } |
|
| 133 | if ($prepend) { |
|
| 134 | $this->prefixesPsr0[$first][$prefix] = array_merge( |
|
| 135 | (array) $paths, |
|
| @@ 138-143 (lines=6) @@ | ||
| 135 | (array) $paths, |
|
| 136 | $this->prefixesPsr0[$first][$prefix] |
|
| 137 | ); |
|
| 138 | } else { |
|
| 139 | $this->prefixesPsr0[$first][$prefix] = array_merge( |
|
| 140 | $this->prefixesPsr0[$first][$prefix], |
|
| 141 | (array) $paths |
|
| 142 | ); |
|
| 143 | } |
|
| 144 | } |
|
| 145 | ||
| 146 | /** |
|