mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 17:08:58 +03:00
16 lines
300 B
PHP
16 lines
300 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ShlinkioTest\Shlink\Core\Util;
|
|
|
|
use Shlinkio\Shlink\Rest\Entity\ApiKey;
|
|
|
|
trait ApiKeyHelpersTrait
|
|
{
|
|
public function provideAdminApiKeys(): iterable
|
|
{
|
|
yield 'no API key' => [null];
|
|
yield 'admin API key' => [ApiKey::create()];
|
|
}
|
|
}
|