예제 #1
0
 /**
  * @param IContainer $container
  */
 public function __construct(IContainer $container)
 {
     parent::__construct();
     $this->setContainer($container);
 }
예제 #2
0
파일: KernelTest.php 프로젝트: weew/kernel
 public function test_kernel_with_simple_providers()
 {
     $kernel = new Kernel();
     $kernel->addProvider(stdClass::class);
     $kernel->create();
     $kernel->configure();
     $kernel->initialize();
     $kernel->boot();
     $kernel->shutdown();
 }