<?php

namespace MintyPHP\Service\User;

use MintyPHP\Service\Access\PermissionGateway;

class UserPermissionGateway
{
    public function __construct(private readonly PermissionGateway $permissionGateway)
    {
    }

    public function clearUserCache(int $userId): void
    {
        $this->permissionGateway->clearUserCache($userId);
    }
}
