Code Duplication    Length = 7-7 lines in 2 locations

micro/cache/CacheManager.php 2 locations

@@ 325-331 (lines=7) @@
322
		return $result;
323
	}
324
325
	public static function getRestResource($controllerClass){
326
		$cache=self::getRestCache();
327
		if(isset($cache[$controllerClass])){
328
			return $cache[$controllerClass]["resource"];
329
		}
330
		return null;
331
	}
332
333
	public static function getRestCacheController($controllerClass){
334
		$cache=self::getRestCache();
@@ 333-339 (lines=7) @@
330
		return null;
331
	}
332
333
	public static function getRestCacheController($controllerClass){
334
		$cache=self::getRestCache();
335
		if(isset($cache[$controllerClass])){
336
			return $cache[$controllerClass];
337
		}
338
		return null;
339
	}
340
341
342
	public static function addRoute($path, $controller, $action="index", $methods=null, $name="") {