\Charcoal\App\ServiceProviderCacheServiceProvider

Cache Service Provider

Provides a Stash cache pool (PSR-6 compatible).

Dependencies

  • config A base app \Charcoal\Config\ConfigInterface

Services

  • cache A PSR-6 cache `\Stash\Pool

Helpers

  • cache/config The cache config \Charcoal\App\Config\CacheConfig
  • cache/driver The default cache driverStash\Interfaces\DriverInterface

Summary

Methods
Properties
Constants
register()
No public properties found
No constants found
No protected methods found
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.