* * 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:----CrLZv7mv3Kb8590qImk5hytVRKE7EQDPqVTfvDfjfWuCf3IacuTTTnJZPYbffc88/YEOdDQScZqYoj2ikl21SRJqS5CQpavigvgBOEKDUBVMzU31pfIAfdbrrvW9j/6C4cyIgAD6nazI2x/Hfa1r6dAmF+Uxj8b4Cmv0ANYJoDD6TP59MmrnYxqThUAq3LVnltf9XBPKfLp4IME2S8ZvCLQ6uodPW9WEIQqwB7J0QJzRrImEQ+OUgWejaz/w4jXcUPySu81zquP+Fy+I68kO1Uv4Ta88hP+EgPDYlXSu4HOgJ4SvPQhgtENSID5dljPQEfaI3vRcaeXgrr0gok8L3iVLjLq8WmmhaN3+Sx3ELxUm0T5GE6NCstQud5m0taEFuLNAYq18P6ms8WRRnepKdDKEFNlitlTLmPM9qKUXUmzsXpKfW6iQjwI6Jf1QJYYOmdfQmDuKiaGHourd4h+z7A8FN3mHYedbPuhT9ur47EPt+4xE12f/Kp7UICIZioToBVQlKiHZM1q+vTPod9+79sHvZ1fM8+diE5SFqOo08wA0y7BNw/UDyP/zvIec0JZo91d1Z+xh//CVe/IgWoQIG3CwFiLjmmOnwZh3l+FjN0yIgC4EEXrYf05zpu2ulIRkjmL67idny/fft3wKlWp2vKQtytixi7OJc7dwSdQ8bFA=----ATTACHMENT:----NDg4ODMwNDQ5ODIzMTMzMyA4Mjc2MDU5NzI3ODE5MzE1IDg3MjQ2ODgzNTg5MTUzMA==