Skip to content

Instantly share code, notes, and snippets.

@demirhanali
Last active August 12, 2020 12:04
Show Gist options
  • Save demirhanali/9a16a0bd4f174b1e2eb98cafa12e455e to your computer and use it in GitHub Desktop.
Save demirhanali/9a16a0bd4f174b1e2eb98cafa12e455e to your computer and use it in GitHub Desktop.
<?php
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
resolve(EngineManager::class)->extend('elastic', function () {
return new ElasticEngine;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment