DateTimePlus::getErrors

public DateTimePlus::getErrors()

Gets error messages.

Public function to return the error messages.

Return value

array An array of errors encountered when creating this date.

File

core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 474

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

public function getErrors() {
  return $this->errors;
}
doc_Drupal
2016-10-29 09:01:03
Comments
Leave a Comment

Please login to continue.