Forráskód Böngészése

fix new circular reference

Olivier Massot 2 éve
szülő
commit
e9c5e98a85
1 módosított fájl, 3 hozzáadás és 1 törlés
  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;
     }
-}
+}