find elements by set
This commit is contained in:
parent
aaa494afe4
commit
b44830fa53
3 changed files with 12 additions and 6 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace App\Element;
|
||||
|
||||
use App\Set\Set as DomainSet;
|
||||
|
||||
interface ElementRepository
|
||||
{
|
||||
public function create(CreateElementDto $dto): Element;
|
||||
|
|
@ -11,5 +13,5 @@ interface ElementRepository
|
|||
/**
|
||||
* @return Element[]
|
||||
*/
|
||||
public function findBySetId(int $id): array;
|
||||
public function findBySet(DomainSet $set): array;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue