You are here

final function CalendarSystemsPartialImplementation::formatArray in Calendar Systems 8.3

Overrides CalendarSystemsInterface::formatArray

File

src/CalendarSystems/CalendarSystemsPartialImplementation.php, line 107

Class

CalendarSystemsPartialImplementation

Namespace

Drupal\calendar_systems\CalendarSystems

Code

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'),
  ];
}