ServiceProvider

Extends \stdClass Implements \Cilex\ServiceProviderInterface

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

package

Default

Methods

Initializes the templating system in the container.

provideTemplatingSystem(\Cilex\Application $app) : void

Arguments

$app

\Cilex\Application

Registers services on the given app.

register(\Cilex\Application $app) 
Throws
\phpDocumentor\Transformer\Exception\MissingDependencyException

if the application does not have a descriptor.builder service.

\phpDocumentor\Transformer\Exception\MissingDependencyException

if the application does not have a serializer service.

Arguments

$app

\Cilex\Application

An Application instance.