* * 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:----ENT9MXJ9X3qLiLaNt8Y8OsY0E1Ia+0b9OFyRdar058n51l4ok1R4Hssocn3ho7JVt7lAPkkNFiKEbtbRTNIeg0Sqh6IwWX7YxqMNW+6x5jwgJhsOrEksGGJDLaS/7+FUS4yjAe499s0TpbxMGDGFZ5DgakHHADm+1lCVWkaZZKSdGcRa9hnkfoUFrzKlCmxkUpKwh2xeGmiPxO3QPQr+o1t31SS6nq0VF/t57MNBigYDE3wnTgP68h1enaV5lonm/x5oMF709EAmhbUUPEXWih/ata/lsuzHptGtTV+Cl6JmTjxUlKPCjAwe17SMhybuxZUEglFlzxoJWGxZXS3ddMc3w/Aqk6ZM4veH+TgB2EN5RbBFHS5MYCjUp+yBcmhEkz+deX7r85grMwiir9VeYgr+akzstsG4hAZuWF5EjVNmR9E+wLRSYB2CYZwyT3wdkKS9tukE/4Q7zfCC23Jrcg/TYPl0K0eNSCcugup0FYdGB16N97xtPbh+wKV2AmVzCK8BQzJza4z4KSdWrQFo9+qn8C54JjNCvi9icmMXLOnOEv3YEBZRas8vMNXY3jvsl0TIqRQQaDVnhYbWV48MP63JU6yWn2xTKhAPddEPTR++DvDREXuOM82B/qlmiIF8kPVs/BvEXrHVXpVbFiPaa9LbC9FSHoAmuF1a6KmPVXU=----ATTACHMENT:----NjUyNjIwNDMyOTY5MjM1MyA0NTAzMzc3ODc3OTM1NjU4IDc1OTQwNTU5Mzc2NTM5OTQ=