2022-05-28 19:36:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Facades;
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
use Pterodactyl\Services\Activity\ActivityLogService;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @method static ActivityLogService anonymous()
|
|
|
|
* @method static ActivityLogService event(string $action)
|
2022-05-28 21:03:58 +00:00
|
|
|
* @method static ActivityLogService description(?string $description)
|
2022-05-29 20:19:04 +00:00
|
|
|
* @method static ActivityLogService subject(Model|Model[] $subject)
|
2022-05-28 21:03:58 +00:00
|
|
|
* @method static ActivityLogService actor(Model $actor)
|
|
|
|
* @method static ActivityLogService withRequestMetadata()
|
2022-05-29 20:19:04 +00:00
|
|
|
* @method static ActivityLogService property(string|array $key, mixed $value = null)
|
2022-05-28 21:03:58 +00:00
|
|
|
* @method static \Pterodactyl\Models\ActivityLog log(string $description = null)
|
|
|
|
* @method static ActivityLogService clone()
|
2022-05-29 23:26:28 +00:00
|
|
|
* @method static void reset()
|
2022-05-28 19:36:26 +00:00
|
|
|
* @method static mixed transaction(\Closure $callback)
|
|
|
|
*/
|
|
|
|
class Activity extends Facade
|
|
|
|
{
|
|
|
|
protected static function getFacadeAccessor()
|
|
|
|
{
|
|
|
|
return ActivityLogService::class;
|
|
|
|
}
|
|
|
|
}
|