示例#1
0
 /**
  * @param array $config
  */
 public function __construct(array $config)
 {
     parent::__construct($config);
     if (!array_get($this->config, 'key')) {
         throw new InvalidCredentialsException();
     }
 }
示例#2
0
 /**
  * @param array $config
  */
 public function __construct(array $config)
 {
     parent::__construct($config);
     $this->maxmind = $this->create();
 }