MediaWiki REL1_39
MediaWiki\CommentFormatter\StringCommentIterator Class Reference

An adaptor which converts an array of strings to an iterator of CommentItem objects. More...

Inheritance diagram for MediaWiki\CommentFormatter\StringCommentIterator:
Collaboration diagram for MediaWiki\CommentFormatter\StringCommentIterator:

Public Member Functions

 __construct ( $strings)
 
 current ()
 

Detailed Description

An adaptor which converts an array of strings to an iterator of CommentItem objects.

Since
1.38

Definition at line 13 of file StringCommentIterator.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\CommentFormatter\StringCommentIterator::__construct ( $strings)
Access: internal
Use CommentBatch::strings()
Parameters
string[]$strings

Definition at line 18 of file StringCommentIterator.php.

Member Function Documentation

◆ current()

MediaWiki\CommentFormatter\StringCommentIterator::current ( )

Definition at line 22 of file StringCommentIterator.php.


The documentation for this class was generated from the following file: