44
55use Symbiotic \Core \{CoreInterface , BootstrapInterface };
66use Symbiotic \Http \Kernel \{HttpKernel , HttpRunner , RoutingHandler };
7-
7+ use Symbiotic \ Container \ DIContainerInterface ;
88
99
1010class DummyClass implements BootstrapInterface
1111{
1212
1313 /**
14- * @param CoreInterface|\Symbiotic\Core | array $app = [
14+ * @param CoreInterface| array $app = [
1515 * // Сервисы доступные сразу
1616 *
1717 * 'config' => new \Symbiotic\Config(),
@@ -21,7 +21,7 @@ class DummyClass implements BootstrapInterface
2121 * // Сервисы которых может еще не быть, но они доступны сразу после отработки всех бутстраперов
2222 *
2323 * 'apps' => new \Symbiotic\Appss\AppsRepository(), //{@see \Symbiotic\Apps\Bootstrap::bootstrap()}
24- * 'cache' => new \Symbiotic\SimpleCache \Cache(), // может и не быть пакета
24+ * 'cache' => new \Symbiotic\Cache \Cache(), // может и не быть пакета
2525 * 'resources' => new \Symbiotic\Packages\Resources(), //{@see \Symbiotic\Packages\ResourcesBootstrap::bootstrap()}
2626 * 'http_factory' => new \Symbiotic\Http\PsrHttpFactory(), //{@see \Symbiotic\Http\Bootstrap::bootstrap()}
2727 *
@@ -36,7 +36,7 @@ class DummyClass implements BootstrapInterface
3636 * 'route' => new \Symbiotic\Routing\RouteInterface(), //{@see \Symbiotic\Http\Kernel\RouteHandler::handle()}
3737 * ]
3838 */
39- public function bootstrap (CoreInterface $ app ): void
39+ public function bootstrap (DIContainerInterface $ core ): void
4040 {
4141 // тут можно добавить свои расширения ядра и сервисы
4242 }
0 commit comments