Skip to content

Commit 09351c6

Browse files
committed
2023-01-10 AC: Updates the user documentation.
1 parent 48289c4 commit 09351c6

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

docs/configuration.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ And, the ``config/session.config.php`` file might look like this:
156156
$baseConfig['session'] = [
157157
'enabled' => true,
158158
'psr6_cache_pool' => \Ascmvc\Session\Cache\DoctrineCacheItemPool::class,
159-
'doctrine_cache_driver' => \Doctrine\Common\Cache\FilesystemCache::class,
160-
//'doctrine_cache_driver' => \Doctrine\Common\Cache\XcacheCache::class,
161-
//'doctrine_cache_driver' => \Doctrine\Common\Cache\RedisCache::class,
162-
//'doctrine_cache_driver' => \Doctrine\Common\Cache\MemcachedCache::class,
163-
//'doctrine_cache_driver' => \Doctrine\Common\Cache\MemcacheCache::class,
159+
'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\FilesystemCache::class,
160+
//'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\XcacheCache::class,
161+
//'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\RedisCache::class,
162+
//'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\MemcachedCache::class,
163+
//'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\MemcacheCache::class,
164164
'doctrine_filesystem_cache_directory' => BASEDIR . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR,
165165
'doctrine_cache_server_params' => [
166166
'host' => '127.0.0.1',
@@ -180,7 +180,7 @@ And, the ``config/session.config.php`` file might look like this:
180180
];
181181
182182
It is possible to replace the value of the ``psr6_cache_pool`` index with any PSR-6 compliant class. Also,
183-
any of the given Doctrine\\Common\\Cache classes can be used in order to store the session data when using
183+
any of the given Ascmvc\Session\\Common\\Cache classes can be used in order to store the session data when using
184184
the ``\Ascmvc\Session\Cache\DoctrineCacheItemPool`` class.
185185

186186
For more information on sessions, please see the :ref:`sessions` section.

docs/services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ container's ``factory()`` method:
151151
return new SomeService($serviceManager['dem1]);
152152
});
153153
154-
To learn more about **Pimple**, please visit the `Pimple Website <https://pimple.symfony.com/>`_.
154+
To learn more about **Pimple**, please visit the `Pimple Repository <https://github.com/silexphp/Pimple>`_.

docs/sessions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ necessary, and obtaining an instance of the ``SessionManager`` object by request
1515
the ``getSessionManager()`` static method. Once this is done, it is a question of invoking
1616
the ``SessionManager``'s ``start()`` method to get the session started. Here is a working example:
1717

18+
.. note:: As of LightMVC 5.0.0, the \Doctrine\Common\Cache namespace is replaced with the \Ascmvc\Session\Common\Cache namespace. Please update your session.config.php configuration file accordingly.
19+
1820
.. code-block:: php
1921
2022
<?php
2123
2224
$config['session'] = [
2325
'enabled' => true,
2426
'psr6_cache_pool' => \Ascmvc\Session\Cache\DoctrineCacheItemPool::class,
25-
'doctrine_cache_driver' => \Doctrine\Common\Cache\FilesystemCache::class,
27+
'doctrine_cache_driver' => \Ascmvc\Session\Common\Cache\FilesystemCache::class,
2628
'doctrine_filesystem_cache_directory' => __DIR__ . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR,
2729
'session_name' => 'MYSESSION',
2830
'session_path' => '/',

docs/whats_new.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
.. _WhatsNewAnchor:
22

3+
What's new in version 5.0.0 (2023-01-10)
4+
========================================
5+
6+
* Makes the \\Doctrine\\Common library a core ASCMVC library (\\Ascmvc\\Session\\Common).
7+
* Updates the project's dependencies.
8+
39
What's new in version 4.0.0 (2020-05-19)
410
========================================
511

0 commit comments

Comments
 (0)