Refatoring : Working state

This commit is contained in:
julien
2026-03-16 16:02:01 +01:00
parent a5ca0df375
commit 0453697cd3
25 changed files with 111 additions and 97 deletions

View File

@@ -3,6 +3,9 @@ declare(strict_types=1);
namespace App\Media;
/**
* Contrat de persistance du domaine Media.
*/
interface MediaRepositoryInterface
{
/** @return Media[] */
@@ -23,7 +26,6 @@ interface MediaRepositoryInterface
public function findById(int $id): ?Media;
public function findByHash(string $hash): ?Media;
public function findByHashForUser(string $hash, int $userId): ?Media;