You are here

public function DatexIntlCalendar::copy in Datex 8

Overrides DatexInterface::copy

1 method overrides DatexIntlCalendar::copy()
DatexPersianIntlCalendar::copy in src/Datex/DatexPersianIntlCalendar.php

File

src/Datex/DatexIntlCalendar.php, line 35

Class

DatexIntlCalendar

Namespace

Drupal\datex\Datex

Code

public function copy() {
  return new DatexIntlCalendar($this->timezone, $this->calendar, $this->langCode);
}