Exemplo n.º 1
0
 public function __construct($config = array())
 {
     $this->options = TableRegistry::get('Options');
     $this->mandrill = new \Mandrill($this->options->getOptions()['mandril_api_key']);
     parent::__construct($config);
 }
Exemplo n.º 2
0
 public function __construct($config = array())
 {
     $this->mandrill = new \Mandrill($config['mandrill_api_key']);
     parent::__construct($config);
 }