__construct() public method

public __construct ( string $containerClass = 'DI\Container' )
$containerClass string Name of the container class, used to create the container.
Ejemplo n.º 1
0
 /**
  * Calls the parent constructor with the given class name and sets a new instance of definitionsProvider\dependency\handler\DontHandle as dependencyHandler so this new feature
  * is disabled by default.
  *
  * @param string $containerClass The class name of the container that will be created
  */
 public function __construct($containerClass = Container::class)
 {
     parent::__construct($containerClass);
     $this->setDependencyHandler(new definitionsProvider\dependency\handler\DontHandle());
 }