PHPDocs for cache, Format

This commit is contained in:
Anton Terekhov
2012-11-19 18:40:04 +04:00
parent 2d02f25e22
commit 1e0d1aaa38
5 changed files with 58 additions and 48 deletions

6
cache/Cacher.php vendored
View File

@ -19,6 +19,12 @@ class Cacher
*/
static protected $caches = array();
/**
* @param $cacher
* @param null|string $config
* @return Cache
* @throws InitializationException
*/
static public function get($cacher, $config = null)
{
if (!isset(self::$caches[$cacher])) {