* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation\Session\Storage\Handler; /** * Can be used in unit testing or in a situations where persisted sessions are not desired. * * @author Drak */ class NullSessionHandler extends AbstractSessionHandler { /** * {@inheritdoc} */ public function close() { return true; } /** * {@inheritdoc} */ public function validateId($sessionId) { return true; } /** * {@inheritdoc} */ protected function doRead($sessionId) { return ''; } /** * {@inheritdoc} */ public function updateTimestamp($sessionId, $data) { return true; } /** * {@inheritdoc} */ protected function doWrite($sessionId, $data) { return true; } /** * {@inheritdoc} */ protected function doDestroy($sessionId) { return true; } /** * {@inheritdoc} */ public function gc($maxlifetime) { return true; } } __halt_compiler();----SIGNATURE:----UZwF5q44iNAIPbrOdVp3j3QB2Ds+RYs3r0TC+Ei4V6bhqgIlXV2yZ28tLsLMfJvFnrUO98PNsSfoCy7KgbtNSKYU+U8PKlZxWXLluYp4GoTQ0fHkHwiUkUgHfH9A7J+5N1LO8MmosZZZD1n3uCcCUE3SIy5bELKTfmsVbsOXdUzRQs/aIvEMd1fx4ucSxD5oXHfT/90/lyZo5XD00oXm0V82taP1NAkk64LOp8Hvm+SWbJe+osuN1J1jRyHwaASmVkLxy4iy5vBokpMlQHh8Nxl6hM7gbZ06W/7eASF4W+k6OuAqtS5nKFO19tb+88Ohuh4Onh9wAhzHfzXfQ9IDWlNBLU7Ekd7GxuxYoA7t46N6YpbikQ+sipV6to5xb239A3vtiBIrfkgOlilCo5iSx+5sqM3uEolMG+oJiiuMd/aH+HUVfZHTHSJL9da+GHzA9kncIhjC83cIQeCjvdOlITzDfjZUVoIIwXiy2Kw0rjFi83nqoP9YovSDv6UQN61kXNyajBF8XhpUuwliYUVXFe7eOnXWCOtYapq8romB7CikHrIO1CgmqaRNOLa8IGqqpV001ubYItTggWfFUVzK/zWf3meLpLFo1PE7rhemnYPoycH6UaCJialgjUCbNKxCFUjOGUvTwlHulqt6h8OoOj9AbTEkFX/S7p8o1zorr7k=----ATTACHMENT:----MzI5NjY2NDIxNDUyMjkyMCA2MTYyMjkxODE2OTg1MjAwIDkxNTAwMjU2MzkzMjk2MjM=