final function DatexPartialImplementation::formatArray in Datex 8
Overrides DatexInterface::formatArray
File
- src/
Datex/ DatexPartialImplementation.php, line 111
Class
Namespace
Drupal\datex\DatexCode
final function formatArray() {
return [
'year' => $this
->format('Y'),
'month' => $this
->format('n'),
'day' => $this
->format('j'),
'hour' => $this
->format('G'),
'minute' => $this
->format('i'),
'second' => $this
->format('s'),
];
}