| @@ 131-138 (lines=8) @@ | ||
| 128 | /** |
|
| 129 | * @return array |
|
| 130 | */ |
|
| 131 | public function toArray() |
|
| 132 | { |
|
| 133 | return parent::toArray() + [ |
|
| 134 | 'seconds' => $this->hasSeconds(), |
|
| 135 | 'pickerFormat' => $this->getJsPickerFormat(), |
|
| 136 | 'width' => $this->getWidth(), |
|
| 137 | ]; |
|
| 138 | } |
|
| 139 | ||
| 140 | /** |
|
| 141 | * @param string $date |
|
| @@ 95-102 (lines=8) @@ | ||
| 92 | /** |
|
| 93 | * @return array |
|
| 94 | */ |
|
| 95 | public function toArray() |
|
| 96 | { |
|
| 97 | return parent::toArray() + [ |
|
| 98 | 'seconds' => $this->hasSeconds(), |
|
| 99 | 'format' => $this->getFormat(), |
|
| 100 | 'pickerFormat' => $this->getJsPickerFormat(), |
|
| 101 | ]; |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * @return string |
|