src/NexmoServiceProvider.php
protected function nexmoConfigHas($key)
    {
        /** @var Config $config */
        $config = $this->app->make(Config::class);

        // Check for Nexmo config file.
        if (! $config->has('nexmo')) {
            return false;
        }

        return
            $config->has('nexmo.'.$key) &&
            ! is_null($config->get('nexmo.'.$key)) &&
            ! empty($config->get('nexmo.'.$key));
    }
protected function nexmoConfigHas($key)
    {
        /** @var Config $config */
        $config = $this->app->make(Config::class);

        // Check for Nexmo config file.
        if (! $config->has('nexmo')) {
            return false;
        }

        return
            $config->has('nexmo.'.$key) &&
            ! is_null($config->get('nexmo.'.$key)) &&
            ! empty($config->get('nexmo.'.$key));
    }
protected function nexmoConfigHas ( $ key ) { /** @var Config $config */ $ config = $ this -> app -> make ( Config :: class ) ; // Check for Nexmo config file. if ( ! $ config -> has ( 'nexmo' ) ) { return false ; } return $ config -> has ( 'nexmo.' . $ key ) && ! is_null ( $ config -> get ( 'nexmo.' . $ key ) ) && ! empty ( $ config -> get ( 'nexmo.' . $ key ) ) ; }
Checks if Nexmo config has value for the
given key.

@param string $key

@return bool
Checks if Nexmo config has value for the given key .