class Apache implements ServiceInterface (View source)

Properties

protected string $detector_class

The class to use for our detector.

protected string $generator_class

The class to use for our generator.

protected string $storage_class

The class to use to read/write options.

protected string $configurator_class

The class to use to manage configuration rules.

protected DetectorInterface $detector
protected Application $app
protected string $version

Service version.

Methods

__construct($version, Application $app)

Class constructor.

string
getName()

Get the human readable service name.

string
getVersion()

Get the version.

string
getFullName()

Get the human readable service name with the version.

getDetector()

Get a detector instance to determine if this service is active.

getGenerator()

Get the configuration generator instance.

getStorage()

Get the storage reader/writer instance.

getConfigurator()

Get the configurator instance.

Details

__construct($version, Application $app)

Class constructor.

Parameters

$version
Application $app

string getName()

Get the human readable service name.

Return Value

string

See also

ServiceInterface::getName

string getVersion()

Get the version.

Return Value

string

See also

ServiceInterface::getVersion

string getFullName()

Get the human readable service name with the version.

Return Value

string

See also

ServiceInterface::getFullName

DetectorInterface getDetector()

Get a detector instance to determine if this service is active.

GeneratorInterface getGenerator()

Get the configuration generator instance.

StorageInterface getStorage()

Get the storage reader/writer instance.

ConfiguratorInterface getConfigurator()

Get the configurator instance.