/** * {@inheritdoc} */ public function __construct(Cms $cms) { parent::__construct($cms); if (!session_id() && !headers_sent()) { session_start(); // @codeCoverageIgnore } }
/** * {@inheritdoc} */ public function __construct(Cms $cms) { parent::__construct($cms); $this->_session = \JFactory::getSession(); }