mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-18 06:55:20 +02:00
Fix scoping / global state problems in tests by using DI in Default Extension. Also removing a bunch of old fashioned phpdoc annotations that are superseded by namespaces.
This commit is contained in:
@@ -63,7 +63,7 @@ to invoke your custom CacheResource implementation.
|
||||
* INDEX(`modified`)
|
||||
* ) ENGINE = InnoDB;</pre>
|
||||
*
|
||||
* @package CacheResource-examples
|
||||
|
||||
* @author Rodney Rehm
|
||||
*/
|
||||
class My_CacheResource_Mysql extends \Smarty\Cacheresource\Custom {
|
||||
@@ -211,7 +211,7 @@ to invoke your custom CacheResource implementation.
|
||||
* Note that memcache has a limitation of 256 characters per cache-key.
|
||||
* To avoid complications all cache-keys are translated to a sha1 hash.
|
||||
*
|
||||
* @package CacheResource-examples
|
||||
|
||||
* @author Rodney Rehm
|
||||
*/
|
||||
class My_CacheResource_Memcache extends \Smarty\Cacheresource\KeyValueStore {
|
||||
|
Reference in New Issue
Block a user