Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7431588
ClosedScopeElement.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
749 B
Referenced Files
None
Subscribers
None
ClosedScopeElement.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 11:00 (6 h, 36 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/ba/bd221d3e24ef997bc144310a6180
Default Alt Text
ClosedScopeElement.php (749 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment