session_set_save_handler($saveHandler);
} if (isset($sessionOptions['save_path'
])) { ini_set('session.save_path',
(string) $sessionOptions['save_path'
]);
} if (isset($sessionOptions['save_handler'
])) { ini_set('session.save_handler',
(string) $sessionOptions['save_handler'
]);
} $session =
new Enlight_Components_Session_Namespace($storage,
new NamespacedAttributeBag('ShopwareBackend'
));
$session->
start();
return $session;
} /**
* Initiate shopware auth resource
* database adapter by default
*
* @throws SmartyException
* @throws \Enlight_Exception
* @throws Exception
*
* @return \Zend_Auth
*/