public function __construct(array $configs = []) { $this->setConfigs($configs); $this->setGoogle($this->getConfig('google', '')); }