Skip to content

Commit 636d457

Browse files
author
n.gnato
committed
Mark test examples as @internal
1 parent e5f35d3 commit 636d457

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Union types support for relationships in PHP 8.
1919
## Usage
2020

2121
Extend super types in your own json api documents and it's parts:
22-
- \FreeElephants\JsonApiToolkit\DTO\AbstractAttributes
23-
- \FreeElephants\JsonApiToolkit\DTO\AbstractDocument
24-
- \FreeElephants\JsonApiToolkit\DTO\AbstractRelationships
25-
- \FreeElephants\JsonApiToolkit\DTO\AbstractResourceObject
22+
- \FreeElephants\JsonApi\DTO\AbstractAttributes
23+
- \FreeElephants\JsonApi\DTO\AbstractDocument
24+
- \FreeElephants\JsonApi\DTO\AbstractRelationships
25+
- \FreeElephants\JsonApi\DTO\AbstractResourceObject
2626

2727
And use as properties types:
28-
- \FreeElephants\JsonApiToolkit\DTO\RelationshipToOne
29-
- \FreeElephants\JsonApiToolkit\DTO\ResourceIdentifierObject
28+
- \FreeElephants\JsonApi\DTO\RelationshipToOne
29+
- \FreeElephants\JsonApi\DTO\ResourceIdentifierObject
3030

3131
See tests/ for more examples.
3232

tests/FreeElephants/JsonApi/DTO/Example/Attributes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use FreeElephants\JsonApi\DTO\AbstractAttributes;
66

7+
/**
8+
* @internal
9+
*/
710
class Attributes extends AbstractAttributes
811
{
912
public string $foo;

tests/FreeElephants/JsonApi/DTO/Example/OneRelationships.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use FreeElephants\JsonApi\DTO\AbstractRelationships;
66
use FreeElephants\JsonApi\DTO\RelationshipToOne;
77

8+
/**
9+
* @internal
10+
*/
811
class OneRelationships extends AbstractRelationships
912
{
1013
public RelationshipToOne $one;

tests/FreeElephants/JsonApi/DTO/Example/TwoRelationships.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use FreeElephants\JsonApi\DTO\AbstractRelationships;
66
use FreeElephants\JsonApi\DTO\RelationshipToOne;
77

8+
/**
9+
* @internal
10+
*/
811
class TwoRelationships extends AbstractRelationships
912
{
1013
public RelationshipToOne $two;

0 commit comments

Comments
 (0)