Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4140239
ConstElement.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ConstElement.php
View Options
<?php
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace
Microsoft\PhpParser\Node
;
use
Microsoft\PhpParser\NamespacedNameInterface
;
use
Microsoft\PhpParser\NamespacedNameTrait
;
use
Microsoft\PhpParser\Node
;
use
Microsoft\PhpParser\Token
;
class
ConstElement
extends
Node
implements
NamespacedNameInterface
{
use
NamespacedNameTrait
;
/** @var Token */
public
$name
;
/** @var Token */
public
$equalsToken
;
/** @var Expression */
public
$assignment
;
const
CHILD_NAMES
=
[
'name'
,
'equalsToken'
,
'assignment'
];
public
function
getNameParts
()
:
array
{
return
[
$this
->
name
];
}
public
function
getName
()
{
return
$this
->
name
->
getText
(
$this
->
getFileContents
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 15:23 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c7/0d/10dab709bd111a7fa8e4fd64a5af
Default Alt Text
ConstElement.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment