Total Complexity | 9 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait InteractsWithDate |
||
10 | { |
||
11 | private readonly SimpleXMLElement $opfXml; |
||
12 | private readonly string $dcNamespace; |
||
13 | |||
14 | /** |
||
15 | * Gets the date of the EPUB. |
||
16 | */ |
||
17 | 9 | public function getDate(): string |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Sets the date of the EPUB. |
||
32 | */ |
||
33 | 1 | public function setDate(string $date): void |
|
47 |