| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class NameHistoryItem { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var DateTime|null |
||
| 17 | */ |
||
| 18 | private $changedToAt; |
||
| 19 | |||
| 20 | public function __construct(string $name, ?DateTime $changedToAt) { |
||
| 21 | $this->name = $name; |
||
| 22 | $this->changedToAt = $changedToAt; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getName(): string { |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getChangedToAt(): ?DateTime { |
||
| 34 |