public function Carbon::copy in Persian Date for Drupal 8 8.4
Get a copy of the instance.
Return value
static
File
- src/
Library/ Carbon/ Carbon.php, line 635
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function copy() {
return clone $this;
}