add element persistence

This commit is contained in:
Yisroel Baum 2026-08-08 22:21:25 +03:00
parent aaab0e5379
commit fcc6ade8f3
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
7 changed files with 289 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<?php
namespace App\Element;
interface ElementRepository
{
public function create(CreateElementDto $dto): Element;
public function find(int $id): ?Element;
}