mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-06 11:57:33 +03:00
16 lines
340 B
PHP
16 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;
|
|
}
|