eloquent-search/src/SearchServiceProvider.php

22 lines
430 B
PHP
Raw Normal View History

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