Page MenuHomeWickedGov Phorge

ClosedScopeElement.php
No OneTemporary

Size
749 B
Referenced Files
None
Subscribers
None

ClosedScopeElement.php

<?php
declare(strict_types=1);
namespace Phan\Language\Element;
use Phan\Language\Scope\ClosedScope;
/**
* A trait for closed scope elements (classes, functions, methods,
* closures).
*/
trait ClosedScopeElement
{
/**
* @var ClosedScope the scope within this closed scope element.
*/
private $internal_scope;
/**
* Sets the internal scope of this closed scope element.
*/
public function setInternalScope(ClosedScope $internal_scope): void
{
$this->internal_scope = $internal_scope;
}
/**
* @return ClosedScope
* The internal scope of this closed scope element
*/
public function getInternalScope(): ClosedScope
{
return $this->internal_scope;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 11:00 (6 h, 44 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/ba/bd221d3e24ef997bc144310a6180
Default Alt Text
ClosedScopeElement.php (749 B)

Event Timeline