Phan\Language\Scope::addTemplateType PHP Méthode

addTemplateType() public méthode

public addTemplateType ( Phan\Language\Type\TemplateType $template_type ) : void
$template_type Phan\Language\Type\TemplateType A template type parameterizing the generic class in scope
Résultat void
    public function addTemplateType(TemplateType $template_type)
    {
        $this->template_type_map[$template_type->getName()] = $template_type;
    }