Esempio n. 1
0
 public function __construct()
 {
     $environment = new Environment();
     $this->api = new \GameScan\WoW\WowApiRequest(new \GameScan\WoW\ApiConfiguration());
     $this->api->setHost(new \GameScan\WoW\HostInformation\EuHostInformation());
     $this->player = new \GameScan\WoW\Entity\Player($this->api, $environment->get("WOW_PLAYER_REALM"), $environment->get("WOW_PLAYER_NAME"), $environment->get("WOW_LOCALE", 'fr_FR'));
 }
Esempio n. 2
0
 public function __construct()
 {
     $environment = new Environment();
     $this->api_key = $environment->get("TWITTER_API_KEY");
     $this->api_secret = $environment->get("TWITTER_API_SECRET");
     $this->access_token = $environment->get("TWITTER_ACCESS_TOKEN");
     $this->access_token_secret = $environment->get("TWITTER_ACCESS_TOKEN_SECRET");
 }