/** * @param string|NULL $type * @return void */ protected function clearResolvedIdentifiersAndTemplates($type = null) { if ($type !== null) { self::$resolvedIdentifiers[$type] = self::$resolvedFiles[$type] = []; } else { self::$resolvedIdentifiers = self::$resolvedFiles = [self::NAME_TEMPLATES => [], self::NAME_LAYOUTS => [], self::NAME_PARTIALS => []]; } }
/** * @param string|NULL $type * @return void */ protected function clearResolvedIdentifiersAndTemplates($type = NULL) { if ($type) { self::$resolvedIdentifiers[$type] = self::$resolvedFiles[$type] = array(); } else { self::$resolvedIdentifiers = self::$resolvedFiles = array(self::NAME_TEMPLATES => array(), self::NAME_LAYOUTS => array(), self::NAME_PARTIALS => array()); } }
/** * @return void */ protected function clearResolvedIdentifiersAndTemplates() { self::$resolvedIdentifiers = self::$resolvedFiles = array('templates' => array(), 'layouts' => array(), 'partials' => array()); }