__construct() public method

Constructor.
public __construct ( string $privateKey, string $domainName, string $selector )
$privateKey string
$domainName string
$selector string
Esempio n. 1
0
 public function __construct($privateKey, $domainName, $selector)
 {
     parent::__construct($privateKey, $domainName, $selector);
     if (extension_loaded('dkim')) {
         $this->_peclLoaded = true;
     }
 }
 public function __construct($privateKey, $domainName, $selector)
 {
     if (!extension_loaded('opendkim')) {
         throw new Swift_SwiftException('php-opendkim extension not found');
     }
     $this->peclLoaded = true;
     parent::__construct($privateKey, $domainName, $selector);
 }