PHP Class AppserverIo\Appserver\Core\GenericContainerFactory

Inheritance: implements AppserverIo\Appserver\Core\Interfaces\ContainerFactoryInterface
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
factory ( AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer, AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $configuration, integer $runlevel = ApplicationServerInterface::NETWORK ) : void Factory method to create a new container instance.

Method Details

factory() public static méthode

Factory method to create a new container instance.
public static factory ( AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer, AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $configuration, integer $runlevel = ApplicationServerInterface::NETWORK ) : void
$applicationServer AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface The application instance to register the class loader with
$configuration AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The class loader configuration
$runlevel integer The runlevel the container has been started in
Résultat void