sources/AliasResolver.php 1 location
|
@@ 22-29 (lines=8) @@
|
19 |
|
* @param array $addons |
20 |
|
* @param array $aliases |
21 |
|
*/ |
22 |
|
public static function register($app_path, array $addons, array $aliases) |
23 |
|
{ |
24 |
|
static::$instance = new static($app_path, $addons, $aliases); |
25 |
|
|
26 |
|
// TODO check addon configuration |
27 |
|
|
28 |
|
spl_autoload_register([static::$instance, 'load'], true, false); |
29 |
|
} |
30 |
|
|
31 |
|
/** |
32 |
|
*/ |
sources/ClassLoader.php 1 location
|
@@ 17-24 (lines=8) @@
|
14 |
|
/** |
15 |
|
* @param array $addons |
16 |
|
*/ |
17 |
|
public static function register(AddonEnvironment $env, $addons) |
18 |
|
{ |
19 |
|
static::$instance = new static($env, $addons); |
20 |
|
|
21 |
|
// TODO check addon configuration |
22 |
|
|
23 |
|
spl_autoload_register([static::$instance, 'load'], true, false); |
24 |
|
} |
25 |
|
|
26 |
|
/** |
27 |
|
*/ |