* * 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\Proxy; /** * @author Drak */ class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterface { protected $handler; public function __construct(\SessionHandlerInterface $handler) { $this->handler = $handler; $this->wrapper = ($handler instanceof \SessionHandler); $this->saveHandlerName = $this->wrapper ? ini_get('session.save_handler') : 'user'; } /** * @return \SessionHandlerInterface */ public function getHandler() { return $this->handler; } // \SessionHandlerInterface /** * {@inheritdoc} */ public function open($savePath, $sessionName) { return (bool) $this->handler->open($savePath, $sessionName); } /** * {@inheritdoc} */ public function close() { return (bool) $this->handler->close(); } /** * {@inheritdoc} */ public function read($sessionId) { return (string) $this->handler->read($sessionId); } /** * {@inheritdoc} */ public function write($sessionId, $data) { return (bool) $this->handler->write($sessionId, $data); } /** * {@inheritdoc} */ public function destroy($sessionId) { return (bool) $this->handler->destroy($sessionId); } /** * {@inheritdoc} */ public function gc($maxlifetime) { return (bool) $this->handler->gc($maxlifetime); } } __halt_compiler();----SIGNATURE:----in+8OZT7XDq5451AlH3pk4huveQncOlt+Ib6NZu2O9lx8Gv1H9D1+fccUzhy8y8xdkolTyLigIiiDSoEusBYGrmloGw33CN+1P1RPYQPl0bI7di+unECDWnplnwXk2177vPFlB6pR4PExwFM23bXn2iDxLS9PrlM6PKx8ILxkmxCmxyYngw3F9Pqm7Obftmss0lSv+5VQJAknSRQ5qopYi/SsiIv0sbPgyoN/XQgGhy7OZSasBT3vUqIXaxPsXFxJ8ElSSiLnvWzFk92HYs+2XCZa06tIZT6/YiGEoxrDZ/oIfnTQZtSRe7oww+RH4B3rgz/dK2ty9qMdKEul8EqPAvBCxkn7CsNPmLDVu2xjEbRaE2qnkWQNXepaLrRszsIQbcsrL8a/WgEDVWLoh9SjgfSUND41ku7Kf3xL+2n1ymlin4bDdp5VF6JQrHi+wQlNL5+qkO9kEMVOn6O7f+Qo2Q2QD7D2qDV9x3tR7RXWGHKcI2cOEJ36FDG3LG1F/1Yaw9RCpwxMWAO7jFp+7Vq+NvaRfm1qj9cv7p/8LnkO4QNrtXcdi9ZqpJASogiNYjIaUR7gjSaeIS72DIfnnvdA05BVCfarHZMolvjhJF4RuYFDSapXtqrvk9EKu7M7UJbs3NXoiorMLVS1AWm7F0KdwHYc2v7NtFefUIyeU2KKFE=----ATTACHMENT:----MTYxMjIxMzM2MTYwMDg3IDM3NzU2NjYxMjYwMjEyMDggNTI5NjE4MzMzNDI4MjMxMw==