$this->usageReporter
)();
} return $this->storage->
getMetadataBag();
} /**
* @return void
*/
public function registerBag(SessionBagInterface
$bag) { $this->storage->
registerBag(new SessionBagProxy($bag,
$this->data,
$this->usageIndex,
$this->usageReporter
));
} public function getBag(string
$name): SessionBagInterface
{ $bag =
$this->storage->
getBag($name);
return method_exists($bag, 'getBag'
) ?
$bag->
getBag() :
$bag;
} /**
* Gets the flashbag interface.
*/