initial commit

This commit is contained in:
2020-12-30 13:12:18 +07:00
commit f7cafcb397
10 changed files with 748 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
namespace App\Service;
#[\Attribute]
class CachedJokes
{
public function getCacheKey(string $jokeType): string
{
return "jokes-{$jokeType}";
}
}