Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7484972
Array_.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
797 B
Referenced Files
None
Subscribers
None
Array_.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Expr
;
use
PhpParser\Node\Expr
;
class
Array_
extends
Expr
{
// For use in "kind" attribute
const
KIND_LONG
=
1
;
// array() syntax
const
KIND_SHORT
=
2
;
// [] syntax
/** @var (ArrayItem|null)[] Items */
public
$items
;
/**
* Constructs an array node.
*
* @param (ArrayItem|null)[] $items Items of the array
* @param array $attributes Additional attributes
*/
public
function
__construct
(
array
$items
=
[],
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
items
=
$items
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'items'
];
}
public
function
getType
()
:
string
{
return
'Expr_Array'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 14:25 (6 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ce/dd/2259e96471afdeabf454213c2bb6
Default Alt Text
Array_.php (797 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment