Base de ingrédient terminé

This commit is contained in:
2026-04-02 18:10:47 +02:00
parent e79cc73e6d
commit 8a173ed2c7
10 changed files with 246 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain;
interface LinkableInterface {
public function getIdLinkedTo( string $linkedTo, string $linkingField, Model $linkedEntity ): ?array;
public function addLinkBetween( string $linkedTo, string $linkingField, Model $linkedEntity, Model $entity ): bool;
public function removeLinkBetween( string $linkedTo, string $linkingField, Model $linkedEntity, Model $entity ): bool;
}