/** * @param IContainer $container */ public function __construct(IContainer $container) { parent::__construct(); $this->setContainer($container); }
public function test_kernel_with_simple_providers() { $kernel = new Kernel(); $kernel->addProvider(stdClass::class); $kernel->create(); $kernel->configure(); $kernel->initialize(); $kernel->boot(); $kernel->shutdown(); }