Download the PHP package thecodingmachine/psr-6-doctrine-bridge-universal-module without Composer
On this page you can find all versions of the php package thecodingmachine/psr-6-doctrine-bridge-universal-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thecodingmachine/psr-6-doctrine-bridge-universal-module
More information about thecodingmachine/psr-6-doctrine-bridge-universal-module
Files in thecodingmachine/psr-6-doctrine-bridge-universal-module
Package psr-6-doctrine-bridge-universal-module
Short Description Cross-framework module for cache/psr-6-doctrine-bridge
License MIT
Informations about the package psr-6-doctrine-bridge-universal-module
PSR6 to Doctrine cache universal module
This package integrates cache/psr-6-doctrine-bridge (the bridge between Doctrine cache and PSR-6) in any container-interop/service-provider compatible framework/container.
Installation
Once installed, you need to register the TheCodingMachine\DoctrineCacheBridgeServiceProvider
into your container.
If your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.
Introduction
This service provider will provide a default Doctrine cache implementation based on the already configured PSR-6 cache.
It assumes there is already a configured service providing a PSR-6 cache pool. You can install a service provider providing this service using:
(this will install Stash and its related service-provider. Stash is a PSR-6 caching library)
Usage
Expected values / services
This service provider expects the following configuration / services to be available:
Name | Compulsory | Description |
---|---|---|
CacheItemPoolInterface::class |
yes | A PSR-6 compatible cache pool. |
Provided services
This service provider provides the following services:
Service name | Description |
---|---|
Doctrine\Common\Cache\CacheProvider |
A Doctrine cache, this is actually a bridge to the PSR-6 pool. |
Doctrine\Common\Cache\Cache |
An alias to the CacheProvider . |
Extended services
This service provider does not extend any service.
All versions of psr-6-doctrine-bridge-universal-module with dependencies
container-interop/service-provider Version ~0.3.0
thecodingmachine/common-factories Version ^0.3
cache/psr-6-doctrine-bridge Version ^2.1