public DateTimePlus::__clone()
Implements the magic __clone method.
Deep-clones the DateTime object we're wrapping.
public function __clone() { $this->dateTimeObject = clone($this->dateTimeObject); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Datetime!DateTimePlus.php/function/DateTimePlus::__clone/8.1.x