| Total Complexity | 6 | 
| Total Lines | 74 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | abstract class Temporalpicker extends Confirmable  | 
            ||
| 8 | { | 
            ||
| 9 | use PlaceholderTrait;  | 
            ||
| 10 | |||
| 11 | /**  | 
            ||
| 12 | * Initial date to be selected.  | 
            ||
| 13 | *  | 
            ||
| 14 | * @var \DateTime  | 
            ||
| 15 | */  | 
            ||
| 16 | protected $initial_value;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * Get the initial value.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @return \DateTime  | 
            ||
| 22 | */  | 
            ||
| 23 | 6 | protected function getInitialValue()  | 
            |
| 26 | }  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * Set the initial value.  | 
            ||
| 30 | *  | 
            ||
| 31 | * @param \DateTime $initialValue  | 
            ||
| 32 | *  | 
            ||
| 33 | * @return $this  | 
            ||
| 34 | */  | 
            ||
| 35 | 6 | protected function setInitialValue(DateTime $initialValue)  | 
            |
| 40 | }  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * Get the name of the initial value field.  | 
            ||
| 44 | *  | 
            ||
| 45 | * @return string  | 
            ||
| 46 | */  | 
            ||
| 47 | abstract protected function getInitialValueField();  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * Get the initial value format.  | 
            ||
| 51 | *  | 
            ||
| 52 | * @return string  | 
            ||
| 53 | */  | 
            ||
| 54 | abstract protected function getInitialValueFormat();  | 
            ||
| 55 | |||
| 56 | /**  | 
            ||
| 57 | * Convert the block to its array representation.  | 
            ||
| 58 | *  | 
            ||
| 59 | * @return array  | 
            ||
| 60 | */  | 
            ||
| 61 | 2 | public function toArray()  | 
            |
| 83 |