PHP Class GrumPHP\Collection\TasksCollection

Inheritance: extends Doctrine\Common\Collections\ArrayCollection
Afficher le fichier Open project: phpro/grumphp Class Usage Examples

Méthodes publiques

Méthode Description
filterByContext ( GrumPHP\Task\Context\ContextInterface $context ) : TasksCollection
sortByPriority ( GrumPHP $grumPHP ) : TasksCollection This method sorts the tasks by highest priority first.

Method Details

filterByContext() public méthode

public filterByContext ( GrumPHP\Task\Context\ContextInterface $context ) : TasksCollection
$context GrumPHP\Task\Context\ContextInterface
Résultat TasksCollection

sortByPriority() public méthode

This method sorts the tasks by highest priority first.
public sortByPriority ( GrumPHP $grumPHP ) : TasksCollection
$grumPHP GrumPHP\Configuration\GrumPHP
Résultat TasksCollection