\Charcoal\App\ServiceProviderAppServiceProvider

Application Service Provider

Configures Charcoal and Slim and provides various Charcoal services to a container.

Services

  • logger \Psr\Log\Logger

Helpers

  • logger/config \Charcoal\App\Config\LoggerConfig

Requirements / Dependencies

  • config A ConfigInterface must have been previously registered on the container.

Summary

Methods
Properties
Constants
register()
No public properties found
No constants found
registerHandlerServices()
registerRouteServices()
registerRequestControllerServices()
registerModuleServices()
registerScriptServices()
registerViewServices()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

register()

register(\Pimple\Container  $container) : void

Registers services on the given container.

This method should only be used to configure services and parameters. It should not get services.

Parameters

\Pimple\Container $container

A container instance.

registerHandlerServices()

registerHandlerServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

The DI container.

registerRouteServices()

registerRouteServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

The DI container.

registerRequestControllerServices()

registerRequestControllerServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

The DI container.

registerModuleServices()

registerModuleServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

The DI container.

registerScriptServices()

registerScriptServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

A container instance.

registerViewServices()

registerViewServices(\Pimple\Container  $container) : void

Parameters

\Pimple\Container $container

A container instance.