private function registerNoCaptcha()
    {
        $this->singleton(Contracts\NoCaptcha::class, function($app) {
            /** @var  \Illuminate\Config\Repository  $config */
            $config = $app['config'];

            return new NoCaptcha(
                $config->get('no-captcha.secret'),
                $config->get('no-captcha.sitekey'),
                $config->get('no-captcha.lang'),
                $config->get('no-captcha.attributes', [])
            );
        });

        $this->singleton('arcanedev.no-captcha', Contracts\NoCaptcha::class);
    }
private function registerNoCaptcha()
    {
        $this->singleton(Contracts\NoCaptcha::class, function($app) {
            /** @var  \Illuminate\Config\Repository  $config */
            $config = $app['config'];

            return new NoCaptcha(
                $config->get('no-captcha.secret'),
                $config->get('no-captcha.sitekey'),
                $config->get('no-captcha.lang'),
                $config->get('no-captcha.attributes', [])
            );
        });

        $this->singleton('arcanedev.no-captcha', Contracts\NoCaptcha::class);
    }
private function registerNoCaptcha ( ) { $ this -> singleton ( Contracts \ NoCaptcha :: class , function ( $ app ) { /** @var  \Illuminate\Config\Repository  $config */ $ config = $ app [ 'config' ] ; return new NoCaptcha ( $ config -> get ( 'no-captcha.secret' ) , $ config -> get ( 'no-captcha.sitekey' ) , $ config -> get ( 'no-captcha.lang' ) , $ config -> get ( 'no-captcha.attributes' , [ ] ) ) ; } ) ; $ this -> singleton ( 'arcanedev.no-captcha' , Contracts \ NoCaptcha :: class ) ; }
Register NoCaptcha service.
Register NoCaptcha service .