@@ -19,7 +19,15 @@ |
||
19 | 19 | |
20 | 20 | interface OrganizationSpecificationFactory |
21 | 21 | { |
22 | + /** |
|
23 | + * @param null|string $name |
|
24 | + * |
|
25 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Organization\DoctrineORMFilterableSpecification |
|
26 | + */ |
|
22 | 27 | public function buildFilterableSpecification(?string $name, UserId $userId, int $offset = 0, int $limit = -1); |
23 | 28 | |
29 | + /** |
|
30 | + * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Organization\DoctrineORMBySlugSpecification |
|
31 | + */ |
|
24 | 32 | public function buildBySlugSpecification(Slug $slug); |
25 | 33 | } |