Inheritance: extends League\Container\Container
コード例 #1
0
 /**
  * @return ContainerMock|Container
  */
 public function createContainer()
 {
     $this->container = $this->prophesize(ContainerModel::class);
     $this->reflector = $this->prophesize(ContainerReflection::class);
     return new ContainerMock($this->container->reveal(), $this->reflector->reveal());
 }
コード例 #2
0
ファイル: Container.php プロジェクト: kraken-php/framework
 /**
  * Prepare Container internals.
  */
 protected function createContainer()
 {
     $this->container = new ContainerModel();
     $this->reflector = new ContainerReflection();
     $this->container->delegate($this->reflector);
 }