| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class RenameAgenda |
||
| 12 | { |
||
| 13 | private $identity; |
||
| 14 | private $name; |
||
| 15 | |||
| 16 | 2 | public function __construct(Identity $identity, Name $name) |
|
| 17 | { |
||
| 18 | 2 | $this->identity = $identity; |
|
| 19 | 2 | $this->name = $name; |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function identity(): Identity |
|
| 23 | { |
||
| 24 | 2 | return $this->identity; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function name(): Name |
|
| 30 | } |
||
| 31 | } |
||
| 32 |