reset() public static méthode

It can be used for phpunit testing purposes.
public static reset ( )
Exemple #1
0
 /**
  * Performs preliminary initialization of the DI container
  */
 public static function initializeContainer()
 {
     Container::reset();
     $container = self::getContainer();
     //Dependency injection container config
     require __DIR__ . '/di.php';
 }