Refatoring : Working state
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user