<?php

namespace AleshaCMS\CMS\Hook;

use Illuminate\Support\Facades\Facade;

/**
 * @method static void listen(string $hook, callable $callback, int $priority = 10)
 * @method static array fire(string $hook, array $data = [])
 * @method static void filter(string $hook, callable $callback, int $priority = 10)
 * @method static mixed applyFilter(string $hook, mixed $value, array $context = [])
 * @method static bool hasListeners(string $hook)
 */
class Hook extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return HookManager::class;
    }
}
