Phan\Language\Type::__construct PHP Method

__construct() protected method

protected __construct ( string $namespace, string $name, UnionType[] $template_parameter_type_list )
$namespace string The (optional) namespace of the type such as '\' or '\Phan\Language'.
$name string The name of the type such as 'int' or 'MyClass'
$template_parameter_type_list UnionType[] A (possibly empty) list of template parameter types
    protected function __construct(string $namespace, string $name, $template_parameter_type_list)
    {
        $this->namespace = $namespace;
        $this->name = $name;
        $this->template_parameter_type_list = $template_parameter_type_list;
    }

Same methods

Type::__construct ( string $namespace, string $name, UnionType[] $template_parameter_type_list )