First release beta

This commit is contained in:
Tom Lingham
2014-07-14 10:35:19 +10:00
parent 4c0890f936
commit 44ace92f93
20 changed files with 683 additions and 1 deletions

View 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';
}
}