1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-08 15:16:56 +02:00

Rename cache interface in pref for namespaces

This commit is contained in:
Steve Clay
2014-09-21 13:00:03 -04:00
parent ee47d21be2
commit 7ff9438362
9 changed files with 16 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ class Minify {
/**
* Get Minify cache, if no Cache is defined, create Minify_Cache_Null
*
* @return Minify_Cache_Interface
* @return Minify_CacheInterface
*/
public static function getCache()
{
@@ -409,7 +409,7 @@ class Minify {
/**
* Any Minify_Cache_* object or null (i.e. no server cache is used)
*
* @var Minify_Cache_Interface
* @var Minify_CacheInterface
*/
private static $_cache = null;

View File

@@ -14,7 +14,7 @@
* @package Minify
* @author Chris Edwards
**/
class Minify_Cache_APC implements Minify_Cache_Interface {
class Minify_Cache_APC implements Minify_CacheInterface {
/**
* Create a Minify_Cache_APC object, to be passed to

View File

@@ -4,7 +4,7 @@
* @package Minify
*/
class Minify_Cache_File implements Minify_Cache_Interface {
class Minify_Cache_File implements Minify_CacheInterface {
public function __construct($path = '', $fileLocking = false)
{

View File

@@ -17,7 +17,7 @@
* }
* </code>
**/
class Minify_Cache_Memcache implements Minify_Cache_Interface {
class Minify_Cache_Memcache implements Minify_CacheInterface {
/**
* Create a Minify_Cache_Memcache object, to be passed to

View File

@@ -5,7 +5,7 @@
*
* @package Minify
*/
class Minify_Cache_Null implements Minify_Cache_Interface {
class Minify_Cache_Null implements Minify_CacheInterface {
/**
* Write data to cache.
*

View File

@@ -14,7 +14,7 @@
* @package Minify
* @author Matthias Fax
**/
class Minify_Cache_WinCache implements Minify_Cache_Interface {
class Minify_Cache_WinCache implements Minify_CacheInterface {
/**
* Create a Minify_Cache_Wincache object, to be passed to

View File

@@ -17,7 +17,7 @@
* @package Minify
* @author Elan Ruusamäe <glen@delfi.ee>
**/
class Minify_Cache_XCache implements Minify_Cache_Interface {
class Minify_Cache_XCache implements Minify_CacheInterface {
/**
* Create a Minify_Cache_XCache object, to be passed to

View File

@@ -17,7 +17,7 @@
* @package Minify
* @author Patrick van Dissel
*/
class Minify_Cache_ZendPlatform implements Minify_Cache_Interface {
class Minify_Cache_ZendPlatform implements Minify_CacheInterface {
/**

View File

@@ -1,11 +1,16 @@
<?php
/**
* Interface Minify_CacheInterface
* @package Minify
*/
/**
* Class Minify_Cache_Interface
* Interface for Minify cache adapters
*
* @package Minify
*/
interface Minify_Cache_Interface {
interface Minify_CacheInterface {
/**
* Write data to cache.
*