src/LaravelDatadogHelperServiceProvider.php
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__ . '/../config/datadog-helper.php', 'datadog-helper'
        );

        \Datadogstatsd::configure(
            config('datadog-helper.api_key'),
            config('datadog-helper.application_key'),
            config('datadog-helper.datadog_host'),
            config('datadog-helper.transport'),
            config('datadog-helper.statsd_server'),
            config('datadog-helper.statsd_port')
        );

        $this->app->singleton('datadog', LaravelDatadogHelper::class);
    }
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__ . '/../config/datadog-helper.php', 'datadog-helper'
        );

        \Datadogstatsd::configure(
            config('datadog-helper.api_key'),
            config('datadog-helper.application_key'),
            config('datadog-helper.datadog_host'),
            config('datadog-helper.transport'),
            config('datadog-helper.statsd_server'),
            config('datadog-helper.statsd_port')
        );

        $this->app->singleton('datadog', LaravelDatadogHelper::class);
    }
public function register ( ) { $ this -> mergeConfigFrom ( __DIR__ . '/../config/datadog-helper.php' , 'datadog-helper' ) ; \ Datadogstatsd :: configure ( config ( 'datadog-helper.api_key' ) , config ( 'datadog-helper.application_key' ) , config ( 'datadog-helper.datadog_host' ) , config ( 'datadog-helper.transport' ) , config ( 'datadog-helper.statsd_server' ) , config ( 'datadog-helper.statsd_port' ) ) ; $ this -> app -> singleton ( 'datadog' , LaravelDatadogHelper :: class ) ; }
Register any package services.

@return void
Register any package services .