Swift_Signers_DKIMSigner::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $privateKey, string $domainName, string $selector )
$privateKey string
$domainName string
$selector string
    public function __construct($privateKey, $domainName, $selector)
    {
        $this->privateKey = $privateKey;
        $this->domainName = $domainName;
        $this->signerIdentity = '@' . $domainName;
        $this->selector = $selector;
    }

Usage Example

Example #1
0
 public function __construct($privateKey, $domainName, $selector)
 {
     parent::__construct($privateKey, $domainName, $selector);
     if (extension_loaded('dkim')) {
         $this->_peclLoaded = true;
     }
 }
All Usage Examples Of Swift_Signers_DKIMSigner::__construct