EnvironmentCleanerFactory
class EnvironmentCleanerFactory (View source)
Test environment cleaner factory.
We use a factory pattern here so that we can inject the test results database which is not a service (and should not be).
Properties
| protected Container | $container | The container. |
Methods
createCleaner()
Factory method to create the environment cleaner service.
Details
__construct(Container $container)
Construct an environment cleaner factory.
EnvironmentCleanerService
createCleaner()
Factory method to create the environment cleaner service.