You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
434 B
24 lines
434 B
<?php
|
|
|
|
namespace Element\Search;
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class SearchServiceProvider extends ServiceProvider
|
|
{
|
|
public function boot(){
|
|
|
|
}
|
|
|
|
public function register(){
|
|
|
|
$this->app->bind('e-search', function(){
|
|
return new Search;
|
|
});
|
|
|
|
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
|
|
$loader->alias('Search', 'Element\Search\SearchFacade');
|
|
|
|
}
|
|
} |