You are here

public function OpenSSLEncryption::setErrors in Ubercart 8.4

Mutator for errors property.

Parameters

array $errors: Array of text strings containing error messages.

Return value

$this

Overrides EncryptionInterface::setErrors

File

uc_store/src/OpenSSLEncryption.php, line 42

Class

OpenSSLEncryption
Provides encryption and decryption using OpenSSL.

Namespace

Drupal\uc_store

Code

public function setErrors(array $errors) {
  $this->errors = $errors;
  return $this;
}