Parcourir la source

fix new circular reference

Olivier Massot il y a 2 ans
Parent
commit
e9c5e98a85
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/Entity/Billing/AccessFictionalIntangible.php

+ 3 - 1
src/Entity/Billing/AccessFictionalIntangible.php

@@ -3,6 +3,7 @@ declare(strict_types=1);
 
 namespace App\Entity\Billing;
 
+use ApiPlatform\Metadata\ApiResource;
 use App\Entity\Access\Access;
 use App\Entity\Access\AccessFamily;
 use App\Entity\Product\FictionalIntangible;
@@ -14,6 +15,7 @@ use Doctrine\Common\Collections\Collection;
 /**
  * Classe ... qui ...
  */
+#[ApiResource(operations: [])]
 //#[Auditable]
 #[ORM\Entity]
 class AccessFictionalIntangible
@@ -111,4 +113,4 @@ class AccessFictionalIntangible
 
         return $this;
     }
-}
+}