Skip to content

Commit

Permalink
Merge pull request #88 from Art4/75-remove-docs-for-deprecated-code
Browse files Browse the repository at this point in the history
remove deprecated docs from 0.x versions
  • Loading branch information
Art4 committed Oct 26, 2023
2 parents 58d21e2 + 1204492 commit 593b78e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 153 deletions.
6 changes: 1 addition & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Take a look at the [Parser](helper-parser.md) to quickstart with JsonApiClient.
### Helper Tools:
* [Parser](helper-parser.md)
* [Manager](manager.md)
* [Factory](utils-factory.md)
* [Factory](factory.md)
* [Exceptions](exception-introduction.md)

### Objects:
Expand All @@ -30,7 +30,3 @@ Take a look at the [Parser](helper-parser.md) to quickstart with JsonApiClient.
* [Error Link object](objects-error-link.md)
* [Jsonapi object](objects-jsonapi.md)
* [Meta object](objects-meta.md)

### Deprecated Utils:
* [Manager](utils-manager.md)
* [Helper](utils-helper.md)
2 changes: 1 addition & 1 deletion docs/utils-factory.md → docs/factory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Utils\Factory
# Factory
[Back to Navigation](README.md)

The `Art4\JsonApiClient\V1\Factory` provides a simple way to override [all objects](objects-introduction.md#all-objects) by injecting your own classes.
Expand Down
6 changes: 3 additions & 3 deletions docs/manager.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Manager
[Back to Navigation](README.md)

The `Art4\JsonApiClient\Manager` can be used to parse a JSON API input and to inject a [Factory](utils-factory.md) for overriding classes.
The `Art4\JsonApiClient\Manager` can be used to parse a JSON API input and to inject a [Factory](factory.md) for overriding classes.

The `Art4\JsonApiClient\Manager` needs a `Art4\JsonApiClient\Input\Input` instance for parsing. The Input instance is a normalizer that provides the JSON API as a simple object with public attributes like `\stdClass`.

Expand Down Expand Up @@ -67,7 +67,7 @@ This returns a [Document](objects-document.md) object which provided all content

### Working with a factory

You can set a custom [Factory](utils-factory.md) to the manager through the constructor.
You can set a custom [Factory](factory.md) to the manager through the constructor.

```php
use Art4\JsonApiClient\Manager\ErrorAbortManager;
Expand All @@ -83,4 +83,4 @@ You can call `getFactory()` to get the setted factory.
$factory = $manager->getFactory();
```

Learn more about the [Factory](utils-factory.md).
Learn more about the [Factory](factory.md).
2 changes: 1 addition & 1 deletion docs/objects-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ You can get all data as an array using the [ArraySerializer](serializer.md#array

### Need more?

If you need more opportunities to get the values take a look at the [Factory](utils-factory.md) to inject more functionality.
If you need more opportunities to get the values take a look at the [Factory](factory.md) to inject more functionality.
80 changes: 0 additions & 80 deletions docs/utils-helper.md

This file was deleted.

63 changes: 0 additions & 63 deletions docs/utils-manager.md

This file was deleted.

0 comments on commit 593b78e

Please sign in to comment.