Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
NullIdentity.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
10 class NullIdentity extends Container implements IdentityInterface
11 {
15  public function isEnabled()
16  {
17  return true;
18  }
19 
23  public function getEmailCopyTo()
24  {
25  return false;
26  }
27 
31  public function getCopyMethod()
32  {
33  return '';
34  }
35 
39  public function getGuestTemplateId()
40  {
41  return null;
42  }
43 
47  public function getTemplateId()
48  {
49  return null;
50  }
51 
55  public function getEmailIdentity()
56  {
57  return '';
58  }
59 }