tarlepp/symfony-flex-backend

View on GitHub
src/Security/Interfaces/ApiKeyUserInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
declare(strict_types = 1);
/**
 * /src/Security/Interfaces/ApiKeyUserInterface.php
 *
 * @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
 */

namespace App\Security\Interfaces;

use App\Entity\ApiKey;

/**
 * @package App\Security
 * @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
 */
interface ApiKeyUserInterface
{
    /**
     * @param array<int, string> $roles
     */
    public function __construct(ApiKey $apiKey, array $roles);
}