Inheritance: extends League\Container\Container
Esempio n. 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());
 }
Esempio n. 2
0
 /**
  * Prepare Container internals.
  */
 protected function createContainer()
 {
     $this->container = new ContainerModel();
     $this->reflector = new ContainerReflection();
     $this->container->delegate($this->reflector);
 }