Class ModelServiceProvider
Model Service Providers.
Container dependencies
The following keys are expected to be set on the container (from external sources / providers):
cache
A PSR-6 compliant cache pool.config
A charcoal app config (\Charcoal\Config\ConfigInterface)qdatabase
A PDO database instancelogger
A PSR-3 compliant logger.view
A \Charcoal\View\ViewInterface instance
Services
The following services are registered on the container:
model/factory
A \Charcoal\Factory\FactoryInterface factory to create models.model/collection/loader
A collection loader (should not be used).
- Charcoal\Model\ServiceProvider\ModelServiceProvider implements Pimple\ServiceProviderInterface
Namespace: Charcoal\Model\ServiceProvider
Located at Charcoal/Model/ServiceProvider/ModelServiceProvider.php
Located at Charcoal/Model/ServiceProvider/ModelServiceProvider.php
public
|
|
protected
|