From b26a9586bd423614f93812d9efe53e697ad6eb6b Mon Sep 17 00:00:00 2001 From: ga30r7 <81914168+ga30r7@users.noreply.github.com> Date: Wed, 20 May 2026 15:02:33 +0200 Subject: [PATCH 1/3] Update operations.md docs: mention NotExposedController support for Laravel --- core/operations.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/operations.md b/core/operations.md index 8849678ae7b..680ae3fd3a6 100644 --- a/core/operations.md +++ b/core/operations.md @@ -302,8 +302,12 @@ resources: When you do not want to allow access to the resource item (i.e. you don't want a `GET` item operation), instead of omitting the resource item altogether, you can explicitly specify the IRI of -the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). For -example: +the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). + +> For Laravel applications, the same behavior can be implemented using the ApiPlatform\Laravel\Controller\NotExposedController. + + +For example: From cfd9f65964657bfdcb5bfb027040bb18bca18718 Mon Sep 17 00:00:00 2001 From: ga30r7 <81914168+ga30r7@users.noreply.github.com> Date: Wed, 20 May 2026 15:17:33 +0200 Subject: [PATCH 2/3] Update operations.md --- core/operations.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/operations.md b/core/operations.md index 680ae3fd3a6..73f26a25ac1 100644 --- a/core/operations.md +++ b/core/operations.md @@ -302,11 +302,10 @@ resources: When you do not want to allow access to the resource item (i.e. you don't want a `GET` item operation), instead of omitting the resource item altogether, you can explicitly specify the IRI of -the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). +the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). > For Laravel applications, the same behavior can be implemented using the ApiPlatform\Laravel\Controller\NotExposedController. - For example: From 98374085e9cfa28bff28ce45ce88a1d750619074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6rcsi=20G=C3=A1bor?= Date: Wed, 20 May 2026 15:40:38 +0200 Subject: [PATCH 3/3] operations.md prettier fix --- core/operations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/operations.md b/core/operations.md index 73f26a25ac1..a8ccd574fea 100644 --- a/core/operations.md +++ b/core/operations.md @@ -304,7 +304,8 @@ When you do not want to allow access to the resource item (i.e. you don't want a operation), instead of omitting the resource item altogether, you can explicitly specify the IRI of the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). -> For Laravel applications, the same behavior can be implemented using the ApiPlatform\Laravel\Controller\NotExposedController. +> For Laravel applications, the same behavior can be implemented using the +> ApiPlatform\Laravel\Controller\NotExposedController. For example: