/** * @return void */ public static function initRuntime(FileTemplate $template, stdClass $global) { if (!empty($global->caches)) { end($global->caches)->dependencies[Cache::FILES][] = $template->getFile(); } }