2
This commit is contained in:
@@ -7,12 +7,11 @@ use App\Repository\OrdersRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use ApiPlatform\Core\Annotation\ApiResource;
|
||||
|
||||
|
||||
#[ORM\Entity(repositoryClass: OrdersRepository::class)]
|
||||
#[ApiResource(
|
||||
itemOperations: ["GET"],
|
||||
description: "Manage orders",
|
||||
normalizationContext: ["groups" => "read"]
|
||||
itemOperations: ["GET"],
|
||||
description: "Manage orders",
|
||||
normalizationContext: ["groups" => "read"]
|
||||
)]
|
||||
class Orders
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user