MediaWiki master
MediaWiki\Installer\Task\TaskList Class Reference

A container for tasks, with sorting of tasks by their declared dependencies. More...

Inherits IteratorAggregate.

Collaboration diagram for MediaWiki\Installer\Task\TaskList:

Public Member Functions

 add (Task $task)
 Add a task to the list.
 
 getIterator ()
 Get the sorted task list as an iterator.
 

Detailed Description

A container for tasks, with sorting of tasks by their declared dependencies.

Access: internal
For use by the installer

Definition at line 13 of file TaskList.php.

Member Function Documentation

◆ add()

MediaWiki\Installer\Task\TaskList::add ( Task $task)

Add a task to the list.

Definition at line 23 of file TaskList.php.

◆ getIterator()

MediaWiki\Installer\Task\TaskList::getIterator ( )

Get the sorted task list as an iterator.

Returns
ArrayIterator<Task>

Definition at line 33 of file TaskList.php.


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