public __construct ( |
||
$context | The context in which the structural element lives | |
$name | string | |
$type | ||
$flags | integer | |
$fqsen | A fully qualified name for the element |
public function __construct(Context $context, string $name, UnionType $type, int $flags, FullyQualifiedMethodName $fqsen)
{
parent::__construct($context, $name, $type, $flags, $fqsen);
// Presume that this is the original definition
// of this method, and let it be overwritten
// if it isn't.
$this->setDefiningFQSEN($fqsen);
$this->setInternalScope(new FunctionLikeScope($context->getScope(), $fqsen));
}