public function Carbon::addYear in Persian Date for Drupal 8 8.4
Add a year to the instance
Parameters
int $value:
Return value
static
File
- src/
Library/ Carbon/ Carbon.php, line 1981
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function addYear($value = 1) {
return $this
->addYears($value);
}