You are here

private static function Carbon::setLastErrors in Persian Date for Drupal 8 8.4

Set last errors.

Parameters

array $lastErrors:

Return value

void

1 call to Carbon::setLastErrors()
Carbon::createFromFormat in src/Library/Carbon/Carbon.php
Create a Carbon instance from a specific format.

File

src/Library/Carbon/Carbon.php, line 592

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

private static function setLastErrors(array $lastErrors) {
  static::$lastErrors = $lastErrors;
}