* * 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; /** * Allows session to be started by PHP and managed by Symfony. * * @author Drak */ class PhpBridgeSessionStorage extends NativeSessionStorage { /** * @param \SessionHandlerInterface|null $handler * @param MetadataBag $metaBag MetadataBag */ public function __construct($handler = null, MetadataBag $metaBag = null) { $this->setMetadataBag($metaBag); $this->setSaveHandler($handler); } /** * {@inheritdoc} */ public function start() { if ($this->started) { return true; } $this->loadSession(); return true; } /** * {@inheritdoc} */ public function clear() { // clear out the bags and nothing else that may be set // since the purpose of this driver is to share a handler foreach ($this->bags as $bag) { $bag->clear(); } // reconnect the bags to the session $this->loadSession(); } } __halt_compiler();----SIGNATURE:----jusnHrAoaUDFsHXNrZLS8apxxNeqFjEe1CvOaTeX/tVxZB4HkrL4ZGshe60S99usIQTlQF7MdaWdLr8IAeA8DgH9hx7l9RB61bBuD6hx3o5JPuLX5b3u8lEhVyZ3EGNFUpEtmIlGLB0ErJXC+FO90tIyBkcAws3eFIBfUyPtxE3nwPYQzDQv9gEyE8zFR6/vIDeqKLnlhuUPOgw0j7adAD+5EvJ8xpWbtrhXeMk/2/3O+biqPilNJq3miyEd6BMRaKKnJxQB/AsoERwbTS5lRuFL10uCSfvMNvHwBBssaIahWUep8sDEqw4N/z+1FxTouJaRWFLWD9Xnpj+tK9pF6MvX283cNKopAYw4sYU23hxFub+k+0qcSF7ZVzsZFMWSNtLeXbsMcg7EZqF4eNRWuinc4zuTDnD7pjD/ubnhsyJXkqnftJDh9QeFRl5bpMYvOg8ZqU5t1DQztInN0j4LgYNSRYN8889JO3tVf7xBq4Vn0UJnLYv/YrIjvLD0DYq0iURfGmrn1WA9bSf/hJwPELnXfUxv1I4g3jkrGEiyaC+nD3NjsmHaER99upjfQvJLNictkIM1wgClJK5UJT/eLOW07fQyHi2UzVaJ0lrXEG/HEzDePgAaYUWXFpDDatJ0Cpya/85Czc+RhJZMAns2P8i6gul75MAXWg5d9ojdJ9c=----ATTACHMENT:----Njg4OTExMjkzNTY4NzkxOCAxOTg2NjQwMjM3MjgzNjQwIDc4OTYxODg5NTU5ODU2MzE=