public function getTemplateTypeMap() : array { return array_merge($this->template_type_map, $this->hasParentScope() ? $this->getParentScope()->getTemplateTypeMap() : []); }