Mutable collection for validation issues. More...
Public Member Functions | |
add (ValidationIssue $issue) | |
Add a new validation issue to the collection. | |
merge (ValidationIssues $issues) | |
Merge another collection to this collection. | |
hasIssues () | |
Check whether this collection is not empty. | |
getIterator () | |
count () | |
@inheritDoc | |
Mutable collection for validation issues.
@newable
Definition at line 21 of file ValidationIssues.php.
MediaWiki\Extension\Translate\Validation\ValidationIssues::add | ( | ValidationIssue | $issue | ) |
Add a new validation issue to the collection.
Definition at line 26 of file ValidationIssues.php.
MediaWiki\Extension\Translate\Validation\ValidationIssues::count | ( | ) |
@inheritDoc
Definition at line 50 of file ValidationIssues.php.
MediaWiki\Extension\Translate\Validation\ValidationIssues::getIterator | ( | ) |
Definition at line 45 of file ValidationIssues.php.
MediaWiki\Extension\Translate\Validation\ValidationIssues::hasIssues | ( | ) |
Check whether this collection is not empty.
Definition at line 40 of file ValidationIssues.php.
MediaWiki\Extension\Translate\Validation\ValidationIssues::merge | ( | ValidationIssues | $issues | ) |
Merge another collection to this collection.
Definition at line 31 of file ValidationIssues.php.