update readme
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user