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