$innerValue){ $$innerName = $innerValue; } if(array_key_exists($templateName, self::$Cache)){ $fileContents = self::$Cache[$templateName]; } else{ $fileContents = file_get_contents(TEMPLATES_PATH . '/' . $templateName . '.php'); self::$Cache[$templateName] = $fileContents; } ob_start(); eval(' ?>' . $fileContents . '