add find method to node repo and impl to fake repo

This commit is contained in:
Yisroel Baum 2026-02-21 22:14:10 +02:00
parent 725b895de9
commit 483110f773
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 36 additions and 1 deletions

View file

@ -7,4 +7,6 @@ use App\Node\Node;
interface NodeRepository
{
public function create(CreateNodeDto $dto): Node;
public function find(int $id): ?Node;
}