mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
26 lines
722 B
PHP
26 lines
722 B
PHP
<?php
|
|
|
|
namespace App\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
/**
|
|
* Elasticsearch Facade - provides static access to Elasticsearch client.
|
|
*
|
|
* @method static \Elasticsearch\Namespaces\IndicesNamespace indices()
|
|
* @method static \Elasticsearch\Namespaces\ClusterNamespace cluster()
|
|
* @method static array search(array $params)
|
|
* @method static array bulk(array $params)
|
|
* @method static array get(array $params)
|
|
* @method static array deleteByQuery(array $params)
|
|
*
|
|
* @see \Mailerlite\LaravelElasticsearch\Manager
|
|
*/
|
|
class Elasticsearch extends Facade // @phpstan-ignore missingType.iterableValue
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return 'elasticsearch';
|
|
}
|
|
}
|