public function createAlgoliaDriver()
    {
        $this->ensureAlgoliaClientIsInstalled();

        UserAgent::addCustomUserAgent('Laravel Scout', '7.0.0');

        return new AlgoliaEngine(
            Algolia::create(config('scout.algolia.id'), config('scout.algolia.secret')),
            config('scout.soft_delete')
        );
    }
public function createAlgoliaDriver()
    {
        $this->ensureAlgoliaClientIsInstalled();

        UserAgent::addCustomUserAgent('Laravel Scout', '7.0.0');

        return new AlgoliaEngine(
            Algolia::create(config('scout.algolia.id'), config('scout.algolia.secret')),
            config('scout.soft_delete')
        );
    }
public function createAlgoliaDriver ( ) { $ this -> ensureAlgoliaClientIsInstalled ( ) ; UserAgent :: addCustomUserAgent ( 'Laravel Scout' , '7.0.0' ) ; return new AlgoliaEngine ( Algolia :: create ( config ( 'scout.algolia.id' ) , config ( 'scout.algolia.secret' ) ) , config ( 'scout.soft_delete' ) ) ; }
Create an Algolia engine instance.

@return \Laravel\Scout\Engines\AlgoliaEngine
Create an Algolia engine instance .