nooktheme/app/Contracts/Repository/SessionRepositoryInterface.php
mowetentertainment1 eb5b65cec6 initial commit
2025-11-01 19:45:11 -04:00

19 lines
415 B
PHP

<?php
namespace Pterodactyl\Contracts\Repository;
use Illuminate\Support\Collection;
interface SessionRepositoryInterface extends RepositoryInterface
{
/**
* Return all the active sessions for a user.
*/
public function getUserSessions(int $user): Collection;
/**
* Delete a session for a given user.
*/
public function deleteUserSession(int $user, string $session): ?int;
}