|
@ -0,0 +1,42 @@ |
|
|
|
|
|
<?php namespace TomLingham\Searchy; |
|
|
|
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider; |
|
|
|
|
|
|
|
|
|
|
|
class SearchyServiceProvider extends ServiceProvider { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Indicates if loading of the provider is deferred. |
|
|
|
|
|
* |
|
|
|
|
|
* @var bool |
|
|
|
|
|
*/ |
|
|
|
|
|
protected $defer = false; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Register the service provider. |
|
|
|
|
|
* |
|
|
|
|
|
* @return void |
|
|
|
|
|
*/ |
|
|
|
|
|
public function register() |
|
|
|
|
|
{ |
|
|
|
|
|
//
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* |
|
|
|
|
|
*/ |
|
|
|
|
|
public function boot() |
|
|
|
|
|
{ |
|
|
|
|
|
$this->package('tom-lingham/searchy'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Get the services provided by the provider. |
|
|
|
|
|
* |
|
|
|
|
|
* @return array |
|
|
|
|
|
*/ |
|
|
|
|
|
public function provides() |
|
|
|
|
|
{ |
|
|
|
|
|
return array(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |