Phan\Language\Scope::addTemplateType PHP 메소드

addTemplateType() 공개 메소드

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