Phan\Language\Element\Func::__construct PHP Метод

__construct() публичный Метод

public __construct ( Context $context, string $name, UnionType $type, integer $flags, FullyQualifiedFunctionName $fqsen )
$context Phan\Language\Context The context in which the structural element lives
$name string
$type Phan\Language\UnionType
$flags integer
$fqsen Phan\Language\FQSEN\FullyQualifiedFunctionName
    public function __construct(Context $context, string $name, UnionType $type, int $flags, FullyQualifiedFunctionName $fqsen)
    {
        parent::__construct($context, $name, $type, $flags, $fqsen);
        $this->setInternalScope(new FunctionLikeScope($context->getScope(), $fqsen));
    }