function let(Kernel $kernel, Container $container)
 {
     $kernel->boot()->willReturn($container);
     $this->beConstructedWith($kernel);
 }
Exemple #2
0
 /**
  * HttpApplication constructor.
  *
  * @param Kernel $kernel
  */
 public function __construct(Kernel $kernel)
 {
     $this->container = $kernel->boot();
     parent::__construct('Venta', $kernel->getVersion());
 }
Exemple #3
0
 /**
  * HttpApplication constructor.
  *
  * @param Kernel $kernel
  */
 public function __construct(Kernel $kernel)
 {
     $this->container = $kernel->boot();
 }