1 | <?php |
||
4 | class SlimStatic |
||
5 | { |
||
6 | /** |
||
7 | * Boots up SlimStatic by registering its proxies with Statical. |
||
8 | * |
||
9 | * @param \Slim\Slim $slim |
||
10 | * @return \Statical\Manager |
||
11 | */ |
||
12 | public static function boot(\Slim\Slim $slim) |
||
33 | |||
34 | /** |
||
35 | * Adds instances to the Statical Manager |
||
36 | * |
||
37 | * @param string[] $aliases |
||
38 | * @param \Statical\Manager $manager |
||
39 | * @param object $instance |
||
40 | */ |
||
41 | static protected function addInstances($aliases, $manager, $instance) |
||
48 | |||
49 | /** |
||
50 | * Adds services to the Statical Manager |
||
51 | * |
||
52 | * @param \Statical\Manager $manager |
||
53 | * @param \Slim\Slim $slim |
||
54 | */ |
||
55 | static protected function addServices($manager, $slim) |
||
72 | } |
||
73 |