示例#1
0
 public function initialize()
 {
     $this->settingsProvider->initialize();
     $this->api = new MailChimpApi($this->settingsProvider->getApiKey());
 }
 /**
  * @param Settings $provider
  */
 public function injectSettingsProvider(Settings $provider)
 {
     $provider->initialize($this->extensionName);
     $this->settings = $provider->getAll();
 }