You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
457 B
24 lines
457 B
<?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';
|
|
}
|
|
}
|