Ejemplo n.º 1
0
 /**
  * @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
  *
  * @return \Generated\Shared\Transfer\CustomerTransfer
  */
 protected function encryptNewPassword(CustomerTransfer $customerTransfer)
 {
     $currentPassword = $customerTransfer->getNewPassword();
     $customerTransfer->setNewPassword($this->getEncodedPassword($currentPassword));
     return $customerTransfer;
 }