Ejemplo n.º 1
0
    /**
     * @param array $options
     *
     * @return NativeSessionStorage
     */
    protected function getStorage(array $options = array())
    {
        $storage = new NativeSessionStorage($options);
        $storage->registerBag(new AttributeBag());

        return $storage;
    }
 public function registerBag( SessionBagInterface $bag )
 {
     $this->innerSessionStorage->registerBag( $bag );
 }