diff --git a/components/cache/adapters/apcu_adapter.rst b/components/cache/adapters/apcu_adapter.rst index 17ecd4058e6..17cef4f6097 100644 --- a/components/cache/adapters/apcu_adapter.rst +++ b/components/cache/adapters/apcu_adapter.rst @@ -17,7 +17,7 @@ memory, a component appreciably faster than many others, such as the filesystem. this adapter. The ApcuAdapter can optionally be provided a namespace, default cache lifetime, -and cache items version string as constructor arguments:: +cache items version string and marshaller as constructor arguments:: use Symfony\Component\Cache\Adapter\ApcuAdapter; @@ -33,7 +33,10 @@ and cache items version string as constructor arguments:: // when set, all keys prefixed by $namespace can be invalidated by changing // this $version string - $version = null + $version = null, + + // marshaller (classe which implement MarshallerInterface) to process the cache items before storing them + $marshaller = null ); .. caution::