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:
@@ -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;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
*
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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 {
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -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.
|
||||
*
|
Reference in New Issue
Block a user