Phan\Language\FQSEN\FullyQualifiedClassElement::__construct PHP Method

__construct() protected method

protected __construct ( FullyQualifiedClassName $fully_qualified_class_name, string $name, integer $alternate_id )
$fully_qualified_class_name FullyQualifiedClassName The fully qualified class name of the class in whic this element exists
$name string A name if one is in scope or the empty string otherwise.
$alternate_id integer An alternate ID for the element for use when there are multiple definitions of the element
    protected function __construct(FullyQualifiedClassName $fully_qualified_class_name, string $name, int $alternate_id = 0)
    {
        parent::__construct($name);
        $this->fully_qualified_class_name = $fully_qualified_class_name;
        $this->alternate_id = $alternate_id;
    }