shlink/module/CLI/src/ApiKey/RoleResolverInterface.php

17 lines
340 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\CLI\ApiKey;
use Shlinkio\Shlink\Rest\ApiKey\Model\RoleDefinition;
use Symfony\Component\Console\Input\InputInterface;
interface RoleResolverInterface
{
/**
2023-09-19 10:10:17 +03:00
* @return iterable<RoleDefinition>
*/
2023-09-19 10:10:17 +03:00
public function determineRoles(InputInterface $input): iterable;
}