We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 036528f commit 874b1f2Copy full SHA for 874b1f2
src/WebServCo/JSONAPI/Service/Form/JSONAPIItemForm.php renamed to src/WebServCo/JSONAPI/Service/Handler/JSONAPIItemHandler.php
@@ -2,7 +2,7 @@
2
3
declare(strict_types=1);
4
5
-namespace WebServCo\JSONAPI\Service\Form;
+namespace WebServCo\JSONAPI\Service\Handler;
6
7
use Fig\Http\Message\RequestMethodInterface;
8
use OutOfBoundsException;
@@ -16,7 +16,12 @@
16
use function in_array;
17
use function sprintf;
18
19
-final class JSONAPIItemForm extends AbstractForm implements FormInterface
+/**
20
+ * A JSONAPI request item handler.
21
+ *
22
+ * Makes use of form system to take advantage of validation/filtering.
23
+ */
24
+final class JSONAPIItemHandler extends AbstractForm implements FormInterface
25
{
26
private const VALID_REQUEST_METHODS = [
27
RequestMethodInterface::METHOD_DELETE,
0 commit comments