Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7410332
Yield_.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
841 B
Referenced Files
None
Subscribers
None
Yield_.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Expr
;
use
PhpParser\Node\Expr
;
class
Yield_
extends
Expr
{
/** @var null|Expr Key expression */
public
$key
;
/** @var null|Expr Value expression */
public
$value
;
/**
* Constructs a yield expression node.
*
* @param null|Expr $value Value expression
* @param null|Expr $key Key expression
* @param array $attributes Additional attributes
*/
public
function
__construct
(?
Expr
$value
=
null
,
?
Expr
$key
=
null
,
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
key
=
$key
;
$this
->
value
=
$value
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'key'
,
'value'
];
}
public
function
getType
()
:
string
{
return
'Expr_Yield'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 22:55 (2 d, 16 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/05/1928cc5e687c797b233a20d9abc3
Default Alt Text
Yield_.php (841 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment