| Total Complexity | 6 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 54.55% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 17 | class DateHeader extends AbstractHeader | ||
| 18 | { | ||
| 19 | /** | ||
| 20 | * Returns a DateConsumer. | ||
| 21 | * | ||
| 22 | * @param ConsumerService $consumerService | ||
| 23 | * @return \ZBateson\MailMimeParser\Header\Consumer\AbstractConsumer | ||
| 24 | */ | ||
| 25 | 4 | protected function getConsumer(ConsumerService $consumerService) | |
| 28 | } | ||
| 29 | |||
| 30 | /** | ||
| 31 | * Convenience method returning the part's DateTime object. | ||
| 32 | * | ||
| 33 | * @return \DateTime | ||
| 34 | */ | ||
| 35 | 3 | public function getDateTime() | |
| 41 | } | ||
| 42 | |||
| 43 | public function getDateTimeImmutable() | ||
| 52 |