completed functionality and docs update
This commit is contained in:
@@ -1,24 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Element\Search;
|
||||
|
||||
namespace Glmdev\Search;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class SearchServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function boot(){
|
||||
|
||||
}
|
||||
|
||||
public function boot(){}
|
||||
|
||||
/**
|
||||
* Register the service and alias the Search class.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register(){
|
||||
|
||||
$this->app->bind('e-search', function(){
|
||||
return new Search;
|
||||
});
|
||||
|
||||
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
|
||||
$loader->alias('Search', 'Element\Search\SearchFacade');
|
||||
$loader->alias('Search', 'Glmdev\Search\Search');
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user