Handles persistence of the task queue to and from disk.
public function create( |
| ) |
Create a new entry in the task queue.
task Task$ | A Task object representing the task to add. |
TaskAlreadyExists | when the given task is already in the queue |
TaskUpdateFailed | when the task queue cannot be written |
public function delete( |
| ) |
Delete a task from the queue.
task Task$ | The task to delete |
TaskUpdateFailed | when the updated queue cannot be written |
Reads and returns the entire task queue.
A list of Task instances.
public function setTaskQueuePath( |
| ) |
Set the path to the task queue file. Intended for unit testing.