protected function initialise()
{
// Prepare system paths, we'll write all path constants into config.
Windwalker::prepareSystemPath($this->config);
parent::initialise();
// Prepare a system listener then you can add custom logic in it.
$this->getDispatcher()->addListener(new SystemListener());
// Start session
$this->container->get('system.session')->start();
}
/** * initialise * * @return void */ protected function initialise() { $this->set('mode', 'test'); parent::initialise(); $this->set('project.path.entries', __DIR__ . '/entries'); }