/** * initialise * * @return void */ protected function init() { parent::init(); $this->boot(); $session = $this->session; $session->setBridge(new MockArrayBridge()); }
/** * initialise * * @return void */ protected function initialise() { $this->set('mode', 'test'); parent::initialise(); $this->set('project.path.entries', __DIR__ . '/entries'); }
/** * loadConfiguration * * @param Registry $config * * @return void */ protected function loadConfiguration(Registry $config) { parent::loadConfiguration($config); $config->loadFile(WINDWALKER_ETC . '/dev/config.yml', 'yaml'); }
/** * Class constructor. * * @param Request $request An optional argument to provide dependency injection for the Http request object. * @param Structure $config An optional argument to provide dependency injection for the application's * config object. * @param WebEnvironment $environment An optional argument to provide dependency injection for the application's * environment object. * * @since 2.0 */ public function __construct(Request $request = null, Structure $config = null, WebEnvironment $environment = null) { parent::__construct($request, $config, $environment); $this->boot(); }
/** * loadRoutingConfiguration * * @return array */ protected function loadRoutingConfiguration() { $routes = parent::loadRoutingConfiguration(); return array_merge($routes, Yaml::parse(file_get_contents(WINDWALKER_ETC . '/dev/routing.yml'))); }