@@ -19,6 +19,13 @@ discard block |
||
19 | 19 | |
20 | 20 | interface TaskSpecificationFactory |
21 | 21 | { |
22 | + /** |
|
23 | + * @param null|string $title |
|
24 | + * @param TaskPriority $priority |
|
25 | + * @param TaskProgress $progress |
|
26 | + * |
|
27 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\Task\DoctrineORMFilterableSpecification |
|
28 | + */ |
|
22 | 29 | public function buildFilterableSpecification( |
23 | 30 | array $projectIds, |
24 | 31 | ?string $title, |
@@ -31,9 +38,18 @@ discard block |
||
31 | 38 | int $limit = -1 |
32 | 39 | ); |
33 | 40 | |
41 | + /** |
|
42 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\Task\DoctrineORMFilterableSpecification |
|
43 | + */ |
|
34 | 44 | public function buildByProjectSpecification(ProjectId $projectId, int $offset = 0, int $limit = -1); |
35 | 45 | |
46 | + /** |
|
47 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\Task\DoctrineORMFilterableSpecification |
|
48 | + */ |
|
36 | 49 | public function buildByAssigneeSpecification(MemberId $assigneeId, int $offset = 0, int $limit = -1); |
37 | 50 | |
51 | + /** |
|
52 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\Task\DoctrineORMFilterableSpecification |
|
53 | + */ |
|
38 | 54 | public function buildByReporterSpecification(MemberId $reporterId, int $offset = 0, int $limit = -1); |
39 | 55 | } |