* * 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:----ner/8OXVDmGIQhgCjeCPIj40JTAjEylzEYlkw4fgcWzqD84ZmSGK2ijAc2NP6k1nFZdmhbJNiS532D7PLfDFtA6W7c1EsZ+QMJTJLRt19Qgnds+b8anhsWboRcZQCj8igwnoYJQpN/FjRQESOPnSlRCwoKV2T2IZCV2o75IxMM/5y2T3cdoJ/hVQ5+cNBnA/VHQHWOFF0t3x2HJ0YvduOOd9UA8t67TmEAC9Z+X7qZDPvsoV8bNxn77pJT+2bg1cMV5EsgRrXaAS05dj3J0tD9t6ph9cqOtn2A3NpZnsT4cn8biyvVAHCXWvswZc0jHk5u91UGoQu+ctXf35c8A8yTR1pYvd+wHnArc2fdGkBhSoqVuM0eKJ4/IhnjE7OMTNXJ6D4K1TvQrqSaJzxvGN8VON9jNWNXUNjFkarlOnW3kinNAuOurO2x6Hw5hrYdVoi7pArjUUnvymMudvpzWT8om5BnnSQPHmFQNpvaKvqj3HVoJLFTnpFJccSlIWQrL8A6qL4zeL99/STicp/ae74oeq0R5Sv77jvaOMth50By5BPX3h6JZg5cUzyHmpwnz/Ig4VdBr9w+v8AbtZVlCkA0lVs8A0SDm4DqBLWrTo5PBA0HVYhQu5KuIm//WaVG5JVGZwyWBq9QbheBVfv6rBTc76eiQaR1CIJqGnbTWvUzA=----ATTACHMENT:----ODQ0OTkyOTMzOTQ0Mjg4NiAxNTU5MzU2MzU4ODYyNjgwIDQwNTI4MTcxMzU1MTY5OTA=