Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
EmailNotificationInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Customer\Model;
7 
10 
16 {
20  const NEW_ACCOUNT_EMAIL_REGISTERED = 'registered';
21 
25  const NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD = 'registered_no_password';
26 
30  const NEW_ACCOUNT_EMAIL_CONFIRMATION = 'confirmation';
31 
35  const NEW_ACCOUNT_EMAIL_CONFIRMED = 'confirmed';
36 
46  public function credentialsChanged(
47  CustomerInterface $savedCustomer,
48  $origCustomerEmail,
49  $isPasswordChanged = false
50  );
51 
60 
69 
82  public function newAccount(
84  $type = self::NEW_ACCOUNT_EMAIL_REGISTERED,
85  $backUrl = '',
86  $storeId = 0,
87  $sendemailStoreId = null
88  );
89 }
$customer
Definition: customers.php:11
passwordResetConfirmation(CustomerInterface $customer)
passwordReminder(CustomerInterface $customer)
$type
Definition: item.phtml:13
newAccount(CustomerInterface $customer, $type=self::NEW_ACCOUNT_EMAIL_REGISTERED, $backUrl='', $storeId=0, $sendemailStoreId=null)
credentialsChanged(CustomerInterface $savedCustomer, $origCustomerEmail, $isPasswordChanged=false)