<?php

namespace Kylin\Guardian\Facades;

use Illuminate\Support\Facades\Facade;

/**
 * @method static \Kylin\Guardian\Models\Guardian register(array $data)
 * @method static \Kylin\Guardian\Models\GuardianBinding bind(int $guardianId, int $minorUserId, string $relationship)
 * @method static bool unbind(int $bindingId)
 * @method static \Illuminate\Database\Eloquent\Collection getBindings(int $guardianId)
 * @method static array getMinorReport(int $bindingId)
 * @method static \Kylin\Guardian\Models\GuardianBinding setPlayLimit(int $bindingId, array $limits)
 * @method static \Kylin\Guardian\Models\GuardianBinding setSpendingLimit(int $bindingId, array $limits)
 * @method static bool forceOffline(int $bindingId)
 * @method static bool allowOnline(int $bindingId)
 * @method static array getRemoteConfig(int $bindingId)
 * @method static \Kylin\Guardian\Models\Guardian findGuardian(int $guardianId)
 * @method static \Kylin\Guardian\Models\Guardian findGuardianByUserId(int $userId)
 * @method static \Kylin\Guardian\Models\GuardianBinding findBinding(int $bindingId)
 *
 * @see \Kylin\Guardian\Services\GuardianService
 */
class KylinGuardian extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return 'kylin-guardian';
    }
}
