PreconditionService
class PreconditionService (View source)
Service class for installation preconditions.
Properties
protected Application | $app | The application instance. |
|
protected Repository | $config | The configuration repository. |
Methods
getPreconditions(bool $includeWebPreconditions = true)
Get the preconditions.
getPreconditionByHandle(string $handle)
Get a precondition given its handle.
getPreconditionByClassName(string $className)
Get a precondition given its fully-qualified class name.
Details
__construct(Application $app, Repository $config)
Initializes the instance.
PreconditionInterface[]
getPreconditions(bool $includeWebPreconditions = true)
Get the preconditions.
PreconditionInterface
getPreconditionByHandle(string $handle)
Get a precondition given its handle.
PreconditionInterface
getPreconditionByClassName(string $className)
Get a precondition given its fully-qualified class name.