* * 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:----mTe8yI4qb8miPOR7V0up42jRnYSMDk4GRXfBXqp2kBa1aPluIztRo5Nmws0DDGnBoCiiLrk8stskXe90cjo9zvtn1S/HCL6fLVJQC9i+PEi56xHYA8xiCgEGVHn4r3INpfLgEC0U93weHlu8TdiZZ5/qbQinNH0CQAVA0IhkOp6z5uwC+MsOyTCbH4adJrKusA2HLiyfH8Qyk8BC+INiYG7rw5H8EadQKCRbzRYi03/+vhOcWNtwYDqb2A+ndgneRAzgW9E+xle/GQ9QhE9WMsm1qNMnyfXXzMwLOgmFWK4LGDKC/TnTtyQUVb4LCyuj2YDylYA5zl7aC+b99WuLulVaTGi4tu1+ZEVtmEd77IPTeNu36uXW04XVTHZXTo9ojhVPUs4grHsmhWtrc5ZMmk3GvGRI/oR3caHUUmCWGhPg1GWkXZV/bwayP+iFFYoCGa1ektfKD7kWycyUPIshHKYB3IOQDV/9OPkgCfoJ3npxtmxq51qrICfCC9UfT+/SAuTjRD1rSwutt6T3GzLiwjFCBGfBNCkmitRzQJ6C1BWaTiRPzKSt5EXOX2Rx7681eFmog2QPGsknMexMEml0RB0gGREftlh94RgiQJNsrSRrwPJqa+itS9FjwpJRX/uG4OYVt22uVlI3ixCNR48HDPvhOq+fEezGOdZgpl+h4u4=----ATTACHMENT:----NDgyODY5MzkyNzE4ODY3MCA4Mjg2NTU3MjgzMDU1NTgzIDcxODA2Nzg0NTQyMDQ0ODQ=