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