mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-01 20:53:14 +08:00
17 lines
340 B
PHP
17 lines
340 B
PHP
<?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
|
|
{
|
|
/**
|
|
* @return iterable<RoleDefinition>
|
|
*/
|
|
public function determineRoles(InputInterface $input): iterable;
|
|
}
|