src/SpamBlockerServiceProvider.php
private function registerSpamBlocker()
    {
        $this->singleton(Contracts\SpamBlocker::class, function ($app) {
            /** @var  \Illuminate\Contracts\Config\Repository  $config */
            $config = $app['config'];

            return new SpamBlocker(
                $config->get('spam-blocker')
            );
        });
    }
private function registerSpamBlocker()
    {
        $this->singleton(Contracts\SpamBlocker::class, function ($app) {
            /** @var  \Illuminate\Contracts\Config\Repository  $config */
            $config = $app['config'];

            return new SpamBlocker(
                $config->get('spam-blocker')
            );
        });
    }
private function registerSpamBlocker ( ) { $ this -> singleton ( Contracts \ SpamBlocker :: class , function ( $ app ) { /** @var  \Illuminate\Contracts\Config\Repository  $config */ $ config = $ app [ 'config' ] ; return new SpamBlocker ( $ config -> get ( 'spam-blocker' ) ) ; } ) ; }
Register the spam blocker
Register the spam blocker