You are here

public function OpenSSLEncryption::getErrors in Ubercart 8.4

Accessor for errors property.

Return value

array Array of text strings containing error messages.

Overrides EncryptionInterface::getErrors

File

uc_store/src/OpenSSLEncryption.php, line 32

Class

OpenSSLEncryption
Provides encryption and decryption using OpenSSL.

Namespace

Drupal\uc_store

Code

public function getErrors() {
  $errors = $this->errors;

  // Reset error array.
  $this->errors = [];
  return $errors;
}