Code Duplication    Length = 7-7 lines in 2 locations

micro/cache/CacheManager.php 2 locations

@@ 343-349 (lines=7) @@
340
		return $result;
341
	}
342
343
	public static function getRestResource($controllerClass){
344
		$cache=self::getRestCache();
345
		if(isset($cache[$controllerClass])){
346
			return $cache[$controllerClass]["resource"];
347
		}
348
		return null;
349
	}
350
351
	public static function getRestCacheController($controllerClass){
352
		$cache=self::getRestCache();
@@ 351-357 (lines=7) @@
348
		return null;
349
	}
350
351
	public static function getRestCacheController($controllerClass){
352
		$cache=self::getRestCache();
353
		if(isset($cache[$controllerClass])){
354
			return $cache[$controllerClass];
355
		}
356
		return null;
357
	}
358
359
360
	public static function addRoute($path, $controller, $action="index", $methods=null, $name="") {