Skip to content

Commit

Permalink
Merge pull request #66 from boesing/documentation/normalization
Browse files Browse the repository at this point in the history
Documentation: Normalize intro table
  • Loading branch information
boesing authored Apr 23, 2024
2 parents ddd0a63 + f054c4b commit 0370f1d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/book/v2/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ classes/interfaces as follows:
- `AdapterInterface`: `Laminas\Serializer\Adapter\AdapterInterface`
- `AdapterOptions`: `Laminas\Serializer\Adapter\AdapterOptions`

| Method signature | Description |
|------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `factory(/* ... */) : AdapterInterface` | Create a serializer adapter instance. Arguments are: `string |AdapterInterface $adapterName, AdapterOptions|array|Traversable $adapterOptions = null`.
| `setAdapterPluginManager(AdapterPluginManager $adapters) : void` | Change the adapter plugin manager. |
| `getAdapterPluginManager() : AdapterPluginManager` | Get the adapter plugin manager. |
| `resetAdapterPluginManager() : void` | Resets the internal adapter plugin manager. |
| `setDefaultAdapter(string | AdapterInterface $adapter /* ... */) : void` | Change the default adapter. Full argument list: `string|AdapterInterface $adapter, AdapterOptions|array|Traversable $adapterOptions = null`.
| `getDefaultAdapter() : AdapterInterface` | Get the default adapter. |
| `serialize(mixed $data /* ... */) : string` | Generates a storable representation of a value using the default adapter. Optionally, provide a different adapter via the second argument. Full argument list: `mixed $value, string |AdapterInterface $adapter = null, AdapterOptions|array|Traversable $adapterOptions = null`.
| `unserialize(string $value /* ... */) : mixed` | Creates a PHP value from a stored representation using the default adapter. Optionally, provide a different adapter via the second argument. Full argument list: `string $value, string |AdapterInterface|null $adapter = null, AdapterOptions|array|Traversable $adapterOptions = null`
| Method signature | Description |
|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `factory(/* ... */) : AdapterInterface` | Create a serializer adapter instance. Arguments are: `string\|AdapterInterface $adapterName, AdapterOptions\|array\|Traversable $adapterOptions = null`. |
| `setAdapterPluginManager(AdapterPluginManager $adapters) : void` | Change the adapter plugin manager. |
| `getAdapterPluginManager() : AdapterPluginManager` | Get the adapter plugin manager. |
| `resetAdapterPluginManager() : void` | Resets the internal adapter plugin manager. |
| `setDefaultAdapter(string\|AdapterInterface $adapter /* ... */): void` | Change the default adapter. Full argument list: `string\|AdapterInterface $adapter, AdapterOptions\|array\|Traversable $adapterOptions = null`. |
| `getDefaultAdapter() : AdapterInterface` | Get the default adapter. |
| `serialize(mixed $data /* ... */) : string` | Generates a storable representation of a value using the default adapter. Optionally, provide a different adapter via the second argument. Full argument list: `mixed $value, string\|AdapterInterface $adapter = null, AdapterOptions\|array\|Traversable $adapterOptions = null`. |
| `unserialize(string $value /* ... */) : mixed` | Creates a PHP value from a stored representation using the default adapter. Optionally, provide a different adapter via the second argument. Full argument list: `string $value, string\|AdapterInterface\|null $adapter = null, AdapterOptions\|array\|Traversable $adapterOptions = null` |

0 comments on commit 0370f1d

Please sign in to comment.