Code Duplication    Length = 7-7 lines in 2 locations

micro/cache/CacheManager.php 2 locations

@@ 283-289 (lines=7) @@
280
		return $result;
281
	}
282
283
	public static function getRestResource($controllerClass){
284
		$cache=self::getRestCache();
285
		if(isset($cache[$controllerClass])){
286
			return $cache[$controllerClass]["resource"];
287
		}
288
		return null;
289
	}
290
291
	public static function getRestCacheController($controllerClass){
292
		$cache=self::getRestCache();
@@ 291-297 (lines=7) @@
288
		return null;
289
	}
290
291
	public static function getRestCacheController($controllerClass){
292
		$cache=self::getRestCache();
293
		if(isset($cache[$controllerClass])){
294
			return $cache[$controllerClass];
295
		}
296
		return null;
297
	}
298
299
300
	public static function addRoute($path, $controller, $action="index", $methods=null, $name="") {