From f054c4bd383eba1822b2e00fd1b9a5a84aded4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Tue, 23 Apr 2024 23:47:16 +0200 Subject: [PATCH] documentation: normalize intro table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When providing code snippets in backticks within markdown tables, pipes are interpreted as table border if not escaped. Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- docs/book/v2/intro.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/book/v2/intro.md b/docs/book/v2/intro.md index 1609bdc..b0a0865 100644 --- a/docs/book/v2/intro.md +++ b/docs/book/v2/intro.md @@ -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` |