TaskManager/src/Application/Query/Organization/OrganizationMemberOfIdQuery.php 1 location
|
@@ 17-37 (lines=21) @@
|
| 14 |
|
|
| 15 |
|
namespace Kreta\TaskManager\Application\Query\Organization; |
| 16 |
|
|
| 17 |
|
class OrganizationMemberOfIdQuery |
| 18 |
|
{ |
| 19 |
|
private $organizationId; |
| 20 |
|
private $userId; |
| 21 |
|
|
| 22 |
|
public function __construct(string $organizationId, string $userId) |
| 23 |
|
{ |
| 24 |
|
$this->organizationId = $organizationId; |
| 25 |
|
$this->userId = $userId; |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function organizationId() : string |
| 29 |
|
{ |
| 30 |
|
return $this->organizationId; |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
public function userId() : string |
| 34 |
|
{ |
| 35 |
|
return $this->userId; |
| 36 |
|
} |
| 37 |
|
} |
| 38 |
|
|
TaskManager/src/Application/Query/Organization/OwnerOfIdQuery.php 1 location
|
@@ 17-37 (lines=21) @@
|
| 14 |
|
|
| 15 |
|
namespace Kreta\TaskManager\Application\Query\Organization; |
| 16 |
|
|
| 17 |
|
class OwnerOfIdQuery |
| 18 |
|
{ |
| 19 |
|
private $organizationId; |
| 20 |
|
private $userId; |
| 21 |
|
|
| 22 |
|
public function __construct(string $organizationId, string $userId) |
| 23 |
|
{ |
| 24 |
|
$this->organizationId = $organizationId; |
| 25 |
|
$this->userId = $userId; |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function organizationId() : string |
| 29 |
|
{ |
| 30 |
|
return $this->organizationId; |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
public function userId() : string |
| 34 |
|
{ |
| 35 |
|
return $this->userId; |
| 36 |
|
} |
| 37 |
|
} |
| 38 |
|
|