* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation\Session; /** * @author Nicolas Grekas
* * @internal */ final class SessionBagProxy implements SessionBagInterface { private $bag; private $data; private $hasBeenStarted; public function __construct(SessionBagInterface $bag, array &$data, &$hasBeenStarted) { $this->bag = $bag; $this->data = &$data; $this->hasBeenStarted = &$hasBeenStarted; } /** * @return SessionBagInterface */ public function getBag() { return $this->bag; } /** * @return bool */ public function isEmpty() { return empty($this->data[$this->bag->getStorageKey()]); } /** * {@inheritdoc} */ public function getName() { return $this->bag->getName(); } /** * {@inheritdoc} */ public function initialize(array &$array) { $this->hasBeenStarted = true; $this->data[$this->bag->getStorageKey()] = &$array; $this->bag->initialize($array); } /** * {@inheritdoc} */ public function getStorageKey() { return $this->bag->getStorageKey(); } /** * {@inheritdoc} */ public function clear() { return $this->bag->clear(); } } __halt_compiler();----SIGNATURE:----Qe4EHHEZLFMLaqeSwjp4VpLp3lZGYbaVJWub/LDZmpEzWlh6jW4jfZ8izSFzfbAn2Q3CThIYJfFcj1aAZtpNj6ne/kEaE+fef8XhKYkT2qNboXFFRZLRcK36deJ+Rke0PiQZDjKoPABv9hP8xfdQX+zMMaY+d5Lz/klrXzLkUlMVG0153Z9KsbsCYoVuEGNapCGYXOnb2b/TwhQlLsYisrior0RSVPB9uYBJnMvuJRLngC/knNL/+h9tupJobTbK9OPWUUvyp5g20xoSCrK7v8j1grn00rLxEkFKbaa+NGu+ILk6FIf6cDu8UB4l3mJ0B+KUq7sZBL3w6fpUxZZPmAl0P+5vlt20M6SRCJ+Xrjc5+fvFn1t0P2GiaUHpwz8u/k4pefwk9HpYxyE+XhYvDpP2Ctzt2S0cbgXvl716KG1Sy/QmSiY3B4BJ5Kl54ju2T0+EY+Ud88/BqaVVCZ9TnGqjGULTvw+Sera5/fTp9d4DTy/AJIoRexVOEBBmNwHU8UHiascPyID+yUY5Q7hcIms3Sdff4h5G5rk9TXRd9IZcs5wi+ntLmuZJAVKjGtQkax+nberguuDZcWI9fMM1MTULCM7BFvJGiQXDK+rEl3ZywTkIhkwxiepSOP88OTMEVRoaBsQI1iSwv8xfIm2If4Z7SDbDNeRGzo+KYkD95aw=----ATTACHMENT:----ODQ5NzM5ODY5NTQ5Mzc1NyA4ODEzNzU4NzU4MzE4NDUzIDMzNzEwMDMzNDc0NTg3MDA=