Phan\Language\Context::withNamespaceMap PHP Method

withNamespaceMap() public method

public withNamespaceMap ( integer $flags, string $alias, FullyQualifiedGlobalStructuralElement $target ) : Context
$flags integer
$alias string
$target Phan\Language\FQSEN\FullyQualifiedGlobalStructuralElement
return Context This context with the given value is returned
    public function withNamespaceMap(int $flags, string $alias, FullyQualifiedGlobalStructuralElement $target) : Context
    {
        $this->namespace_map[$flags][strtolower($alias)] = $target;
        return $this;
    }