ServiceProvider

Implements \Cilex\ServiceProviderInterface

This provider is responsible for registering the parser component with the given Application.

package

Default

Methods

Load the configuration from the plugin.xml file

loadConfiguration() : array
todo

restore required/deprecated validators

Response

array

Load the configuration for given element (deprecated/required)

loadConfigurationByElement(array $configOptions, string $configType) : array

Arguments

$configOptions

array

The configuration from the plugin.xml file

$configType

string

Required/Deprecated for the time being

Response

array

Registers services on the given app.

register(\Cilex\Application $app) : void
Throws
\phpDocumentor\Parser\Exception\MissingDependencyException

if the Descriptor Builder is not present.

Arguments

$app

\Cilex\Application

An Application instance

Checks all phpDocumentor whether they match the given rules.

validateDocBlocks(\phpDocumentor\Reflection\Event\PostDocBlockExtractionEvent $data) : void
todo

convert this method to the new style validators; this method is not invoked anymore

Arguments

$data

\phpDocumentor\Reflection\Event\PostDocBlockExtractionEvent

Event object containing the parameters.