Skip to content

ServiceProviderInterface

Interface ServiceProviderInterface

Methods

register

Register application service.

public register(\Phalcon\Di\DiInterface $di): void

Parameters:

Parameter Type Description
$di \Phalcon\Di\DiInterface

boot

Package boot method.

public boot(): void

configure

Configures the current service provider.

public configure(): void

getName

Get the Service name.

public getName(): string