eloquent-search/src/SearchServiceProvider.php
2016-12-30 23:05:11 +00:00

22 lines
430 B
PHP

<?php
namespace Glmdev\Search;
use Illuminate\Support\ServiceProvider;
class SearchServiceProvider extends ServiceProvider
{
public function boot(){}
/**
* Register the service and alias the Search class.
*
* @return void
*/
public function register(){
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
$loader->alias('Search', 'Glmdev\Search\Search');
}
}