Skip to content

[PoC] Cache bridge to use modern Symfony cache systems in legacy Symfony1 projects

Notifications You must be signed in to change notification settings

FriendsOfSymfony1/CacheLegacyBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

[PoC] Symfony1 Cache Legacy bridge

Cache bridge to use modern Symfony cache systems in Symfony1 projects.

This library bridges the functionality offered by the Symfony Cache component to the legacy Symfony1. Classes defined in this library can be used in place of the Symfony1 sfCache.

Status

This library is a Proof-of-Concept, do not use unless you are planning to contribute to its code.

Usage

This library is meant to be used as a replacement for sfCache classes.

Before:

  # factories.yml
  cache:
    class: sfAPCCache
    param:
      prefix: 'your-cache-prefix'

After:

  # factories.yml
  cache:
    class: Symfony1\LegacyBridge\Cache\APCUCache
    param:
      prefix: 'your-cache-prefix'

About

[PoC] Cache bridge to use modern Symfony cache systems in legacy Symfony1 projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages