Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5971159
NotRecursiveIterator.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
600 B
Referenced Files
None
Subscribers
None
NotRecursiveIterator.php
View Options
<?php
namespace
MediaWiki\Extension\Notifications\Iterator
;
use
IteratorDecorator
;
use
RecursiveIterator
;
/**
* Wraps a non-recursive iterator with methods to be recursive
* without children.
*
* Alternatively wraps a recursive iterator to prevent recursing deeper
* than the wrapped iterator.
*/
class
NotRecursiveIterator
extends
IteratorDecorator
implements
RecursiveIterator
{
public
function
hasChildren
():
bool
{
return
false
;
}
public
function
getChildren
():
?
RecursiveIterator
{
// @phan-suppress-next-line PhanTypeMismatchReturnProbablyReal Never called
return
null
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 14:59 (1 d, 20 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
81/8f/0572a0387ae66a5ef8673d6b1907
Default Alt Text
NotRecursiveIterator.php (600 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment