This commit is contained in:
Nasser committed 2018-06-30 14:55:15 +04:30
1 parent 936de012ed
commit 49c2572185
1 file changed
+10
+10
View File
@@ -329,6 +329,16 @@ class Verta extends DateTime {
return new static($datetime, $timezone); return new static($datetime, $timezone);
} }
/**
* Get a copy of the instance.
*
* @return static
*/
public function copy()
{
return clone $this;
}
/** /**
* Create a DateTime instance from Verta * Create a DateTime instance from Verta
* *