protected function registerContactController()
    {
        $this->app->bind(ContactController::class, function ($app) {
            $throttler = $app['throttle']->get($app['request'], 2, 30);
            $path = $app['config']['contact.path'];

            return new ContactController($throttler, $path);
        });
    }
protected function registerContactController()
    {
        $this->app->bind(ContactController::class, function ($app) {
            $throttler = $app['throttle']->get($app['request'], 2, 30);
            $path = $app['config']['contact.path'];

            return new ContactController($throttler, $path);
        });
    }
protected function registerContactController ( ) { $ this -> app -> bind ( ContactController :: class , function ( $ app ) { $ throttler = $ app [ 'throttle' ] -> get ( $ app [ 'request' ] , 2 , 30 ) ; $ path = $ app [ 'config' ] [ 'contact.path' ] ; return new ContactController ( $ throttler , $ path ) ; } ) ; }
Register the contact controller class.

@return void
Register the contact controller class .