Example #1
0
 /**
  * @param string $pageLanguage
  * @param array $languages
  * @param string|NULL $googleAnalyticsKey
  */
 public function __construct($pageLanguage, array $languages, $googleAnalyticsKey = NULL)
 {
     parent::__construct();
     $this->pageLanguage = $this->currentLanguage = $pageLanguage;
     $this->languages = $languages;
     $this->googleAnalyticsKey = $googleAnalyticsKey;
 }
Example #2
0
 /**
  * @param string $key
  */
 public function __construct($key)
 {
     parent::__construct();
     $this->key = $key;
 }