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

\Concrete\Core\Service\ServiceInterface::getName()

string getVersion()

Get the version.

Return Value

string

See also

\Concrete\Core\Service\ServiceInterface::getVersion()

string getFullName()

Get the human readable service name with the version.

Return Value

string

See also

\Concrete\Core\Service\ServiceInterface::getFullName()

DetectorInterface getDetector()

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

Return Value

DetectorInterface

See also

\Concrete\Core\Service\ServiceInterface::getDetector()

GeneratorInterface getGenerator()

Get the configuration generator instance.

Return Value

GeneratorInterface

See also

\Concrete\Core\Service\ServiceInterface::getGenerator()

StorageInterface getStorage()

Get the storage reader/writer instance.

Return Value

StorageInterface

See also

\Concrete\Core\Service\ServiceInterface::getStorage()

ConfiguratorInterface getConfigurator()

Get the configurator instance.

Return Value

ConfiguratorInterface

See also

\Concrete\Core\Service\ServiceInterface::getConfigurator()