add set elements
This commit is contained in:
parent
db35a97910
commit
2c4cdabc15
17 changed files with 497 additions and 0 deletions
15
backend/app/Set/SetRepository.php
Normal file
15
backend/app/Set/SetRepository.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Set;
|
||||
|
||||
interface SetRepository
|
||||
{
|
||||
public function create(CreateSetDto $dto): Set;
|
||||
|
||||
public function find(int $id): ?Set;
|
||||
|
||||
/**
|
||||
* @return Set[]
|
||||
*/
|
||||
public function getAll(): array;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue