@@ -18,6 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface TaskDataTransformer |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function write(Task $task); |
| 22 | 25 | |
| 23 | 26 | public function read(); |
@@ -20,8 +20,14 @@ |
||
| 20 | 20 | |
| 21 | 21 | public function query($specification); |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 23 | 26 | public function persist(Organization $organization); |
| 24 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 25 | 31 | public function remove(Organization $organization); |
| 26 | 32 | |
| 27 | 33 | public function count($specification) : int; |
@@ -20,8 +20,14 @@ |
||
| 20 | 20 | |
| 21 | 21 | public function query($specification); |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 23 | 26 | public function persist(Task $task); |
| 24 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 25 | 31 | public function remove(Task $task); |
| 26 | 32 | |
| 27 | 33 | public function count($specification) : int; |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | namespace Spec\Kreta\TaskManager\Application\DataTransformer\Project\Task; |
| 14 | 14 | |
| 15 | 15 | use Kreta\SharedKernel\Domain\Model\Identity\Slug; |
| 16 | -use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDataTransformer; |
|
| 17 | 16 | use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDTODataTransformer; |
| 17 | +use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDataTransformer; |
|
| 18 | 18 | use Kreta\TaskManager\Domain\Model\Organization\Organization; |
| 19 | 19 | use Kreta\TaskManager\Domain\Model\Organization\OrganizationId; |
| 20 | 20 | use Kreta\TaskManager\Domain\Model\Organization\OrganizationName; |