protected $bags = array();
/**
- * Constructor.
- *
* @param string $name Session name
* @param MetadataBag $metaBag MetadataBag instance
*/
$this->setMetadataBag($metaBag);
}
- /**
- * Sets the session data.
- *
- * @param array $array
- */
public function setSessionData(array $array)
{
$this->data = $array;
return $this->started;
}
- /**
- * Sets the MetadataBag.
- *
- * @param MetadataBag $bag
- */
public function setMetadataBag(MetadataBag $bag = null)
{
if (null === $bag) {