update readme
This commit is contained in:
parent
e9dddc111a
commit
e532a95c14
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue