First release beta
This commit is contained in:
24
src/TomLingham/Searchy/Facades/Searchy.php
Normal file
24
src/TomLingham/Searchy/Facades/Searchy.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php namespace TomLingham\Searchy\Facades;
|
||||
|
||||
use TomLingham\Searchy\SearchyServiceProvider;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* Searchy facade for the Laravel framework
|
||||
*/
|
||||
class Searchy extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered component.
|
||||
*
|
||||
* @return object
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
if (!static::$app) {
|
||||
static::$app = SearchyServiceProvider::make();
|
||||
}
|
||||
|
||||
return 'searchy';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user