protected function bindIndex()
    {
        $this->app->bind('iverberk.larasearch.index', function ($app, $params)
        {
            $name = isset($params['name']) ? $params['name'] : '';

            return new Index($params['proxy'], $name);
        });
    }
protected function bindIndex()
    {
        $this->app->bind('iverberk.larasearch.index', function ($app, $params)
        {
            $name = isset($params['name']) ? $params['name'] : '';

            return new Index($params['proxy'], $name);
        });
    }
protected function bindIndex ( ) { $ this -> app -> bind ( 'iverberk.larasearch.index' , function ( $ app , $ params ) { $ name = isset ( $ params [ 'name' ] ) ? $ params [ 'name' ] : '' ; return new Index ( $ params [ 'proxy' ] , $ name ) ; } ) ; }
Bind the Larasearch index to the container
Bind the Larasearch index to the container