| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class DateProperty extends AbstractProperty |
||
| 15 | { |
||
| 16 | use DateTimeTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * DateProperty constructor. |
||
| 20 | */ |
||
| 21 | public function __construct() |
||
| 22 | { |
||
| 23 | $this->formatCode = NumberFormat::FORMAT_DATE_DDMMYYYY; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param object $object |
||
| 28 | * @return float|mixed |
||
| 29 | * @throws PropertyException |
||
| 30 | */ |
||
| 31 | public function renderProperty(object $object) |
||
| 43 | } |
||
| 44 | } |
||
| 45 |