* * 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:----f2tkpzMWTizY057xz0/gKvc7lwWFGnh7s8JpX266rST212V2ukngQ59Sho2nzW0M9a8Z1Ta7lFmS0+hly9VJW4p+/DwB6iyfFbso3GtnpFi+alQvbkQKA/kpXcnW3BdmVnym+03Q+BRb1Vil3x92c6t8QcT+rj0/ufRpJAiZgkwlHPfcZvIMh2PVuFyJUPxTsbkqYxCkcsoeXIEdHkM46M2Yww9GIEuezMbgbvKIip9NU90flFnGWxCWmMJYL347Z2EvXsqkYtMLjQ8HQxOP7dK1IO6hGcSoqqvc7HsrWPKl6Aald32N1ZsPBy15TCUYZHS73rTkNyRF1x/U9kU/3wVVrOCGveUMKZ7j2ixYQXBuLMoWBrOu9PDGY8Alj/3PsNrZ0fGTzWG3TDjIw2c+1rH3gizVEzpmpImByrsytvqVtSUT58shFfuic0dzTDeriNXLSzuRkVqgo5SW0lKu638KACGflwWHOIO3hg2aTT79X1Vh8K+AX9n76p5NQCR/dAZg72okrDcCi57Ys5Z40dP43h2qMERldRzqyz7oiW62D70SVWCJngipbYn0DzpXLSNFOkJNbMFhWwi/E14JYt4YZQCE7FPfYtG+G1ypJirXsBQzxyt/tYjxYXTXjgDTvhTLCXaw5TxoxRxnCXULes9p6X0x+SezgQfNJPx4ul4=----ATTACHMENT:----NDc2NzI4MjY5Mjk4NTc4MyA5MzU3MjI4ODY4MTkwOTI2IDY1NzYwNjIyNzg0MTM2Mzg=