update readme

This commit is contained in:
DavidBadura 2015-02-06 13:14:58 +01:00
parent e9dddc111a
commit e532a95c14
2 changed files with 14 additions and 2 deletions

View File

@ -14,5 +14,9 @@ $task->addTag('next'); // todo :D
$tm->save($task);
$tasks = $tm->filter('project:hobby');
$tasks = $tm->filter('project:hobby'); // one task
$tm->done($task);
$tasks = $tm->filter('project:hobby'); // empty
```

View File

@ -12,7 +12,7 @@ use Symfony\Component\Process\ProcessBuilder;
class TaskManager
{
/**
* @var array
* @var Taskwarrior
*/
private $taskwarrior;
@ -29,6 +29,14 @@ class TaskManager
$this->taskwarrior = $taskwarrior;
}
/**
* @return Taskwarrior
*/
public function getTaskwarrior()
{
return $this->taskwarrior;
}
/**
* @param Task $task
*/