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.

23 lines
457 B

  1. <?php namespace TomLingham\Searchy\Facades;
  2. use TomLingham\Searchy\SearchyServiceProvider;
  3. use Illuminate\Support\Facades\Facade;
  4. /**
  5. * Searchy facade for the Laravel framework
  6. */
  7. class Searchy extends Facade
  8. {
  9. /**
  10. * Get the registered component.
  11. *
  12. * @return object
  13. */
  14. protected static function getFacadeAccessor()
  15. {
  16. if (!static::$app) {
  17. static::$app = SearchyServiceProvider::make();
  18. }
  19. return 'searchy';
  20. }
  21. }