ServiceProvider
Class AbstractServiceProvider
- Full name: \Zemit\Provider\Assets\ServiceProvider
- Parent class: \Zemit\Provider\AbstractServiceProvider
Properties
serviceName
The Service name.
protected string $serviceName
Methods
register
public register(\Phalcon\Di\DiInterface $di): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $di | \Phalcon\Di\DiInterface | 
Inherited methods
__construct
Set DI and run configure();
public __construct(\Phalcon\Di\DiInterface $di): mixed
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $di | \Phalcon\Di\DiInterface | 
getName
Get the Service name.
public getName(): string
boot
Package boot method.
public boot(): void
configure
Configures the current service provider.
public configure(): void