|
@@ 279-283 (lines=5) @@
|
| 276 |
|
*/ |
| 277 |
|
protected function registerCustomAutoloaders() |
| 278 |
|
{ |
| 279 |
|
if (isset($this->config['autoloaders']) && is_array($this->config['autoloaders'])) { |
| 280 |
|
foreach ($this->config['autoloaders'] as $prefix => $path) { |
| 281 |
|
$this->autoloader->add($prefix, $path); |
| 282 |
|
} |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if (isset($this->config['autoloaders_psr4']) && is_array($this->config['autoloaders_psr4'])) { |
| 286 |
|
foreach ($this->config['autoloaders_psr4'] as $prefix => $path) { |
|
@@ 285-289 (lines=5) @@
|
| 282 |
|
} |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if (isset($this->config['autoloaders_psr4']) && is_array($this->config['autoloaders_psr4'])) { |
| 286 |
|
foreach ($this->config['autoloaders_psr4'] as $prefix => $path) { |
| 287 |
|
$this->autoloader->addPsr4($prefix, $path); |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|
| 291 |
|
if (isset($this->config['autoload_files']) && is_array($this->config['autoload_files'])) { |
| 292 |
|
foreach ($this->config['autoload_files'] as $file) { |
|
@@ 291-295 (lines=5) @@
|
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|
| 291 |
|
if (isset($this->config['autoload_files']) && is_array($this->config['autoload_files'])) { |
| 292 |
|
foreach ($this->config['autoload_files'] as $file) { |
| 293 |
|
require $file; |
| 294 |
|
} |
| 295 |
|
} |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
/** |