Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1429334
FullyQualifiedGlobalConstantName.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
873 B
Referenced Files
None
Subscribers
None
FullyQualifiedGlobalConstantName.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Language\FQSEN
;
/**
* A Fully-Qualified Constant Name
*/
class
FullyQualifiedGlobalConstantName
extends
FullyQualifiedGlobalStructuralElement
implements
FullyQualifiedConstantName
{
/**
* @return int
* The namespace map type such as \ast\flags\USE_NORMAL or \ast\flags\USE_FUNCTION
*/
protected
static
function
getNamespaceMapType
():
int
{
return
\ast\flags\USE_CONST
;
}
/**
* @return string
* The canonical representation of the name of the object,
* for use in array key lookups for singletons, namespace maps, etc.
* This should not be used directly or indirectly in issue output
* If an FQSEN is case-sensitive, this should return $name
*/
public
static
function
canonicalLookupKey
(
string
$name
):
string
{
return
$name
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 17:26 (10 h, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6a/67/f2ee091e342f0f777ecfc8a4d635
Default Alt Text
FullyQualifiedGlobalConstantName.php (873 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment