public static function initRuntime(Control $control, Template $template, stdClass $global) { self::$template = $template->getFile(); if (!$control instanceof Presenter && count(self::$parents)) { end(self::$parents)->dependencies[Cache::FILES][] = $template->getFile(); } }