/var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception
NameSizeModeActions
Command/-0775rm
Coverage/-0775rm
Event/-0775rm
Exception/-0775rm
Lib/-0775rm
Module/-0775rm
Step/-0775rm
Subscriber/-0775rm
Template/-0775rm
Test/-0775rm
Util/-0775rm
Actor.php11540664editdlrm
Application.php54020664editdlrm
Codecept.php75500664editdlrm
Configuration.php243270664editdlrm
CustomCommandInterface.php1980664editdlrm
Events.php36510664editdlrm
Example.php25740664editdlrm
Extension.php32730664editdlrm
GroupObject.php6690664editdlrm
InitTemplate.php69120664editdlrm
Module.php84930664editdlrm
README.md4270664editdlrm
Scenario.php43450664editdlrm
Snapshot.php31050664editdlrm
Step.php102650664editdlrm
Suite.php19900664editdlrm
SuiteManager.php77080664editdlrm
TestInterface.php1980664editdlrm
Edit: /var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception/Extension.php (3273B)
config = array_merge($this->config, $config); $this->options = $options; $this->output = new Output($options); $this->_initialize(); } public static function getSubscribedEvents() { if (!isset(static::$events)) { return [Events::SUITE_INIT => 'receiveModuleContainer']; } if (isset(static::$events[Events::SUITE_INIT])) { if (!is_array(static::$events[Events::SUITE_INIT])) { static::$events[Events::SUITE_INIT] = [[static::$events[Events::SUITE_INIT]]]; } static::$events[Events::SUITE_INIT][] = ['receiveModuleContainer']; } else { static::$events[Events::SUITE_INIT] = 'receiveModuleContainer'; } return static::$events; } public function receiveModuleContainer(SuiteEvent $e) { $this->modules = $e->getSuite()->getModules(); } /** * Pass config variables that should be injected into global config. * * @param array $config */ public function _reconfigure($config = []) { if (is_array($config)) { Config::append($config); } } /** * You can do all preparations here. No need to override constructor. * Also you can skip calling `_reconfigure` if you don't need to. */ public function _initialize() { $this->_reconfigure(); // hook for BC only. } protected function write($message) { if (!$this->options['silent']) { $this->output->write($message); } } protected function writeln($message) { if (!$this->options['silent']) { $this->output->writeln($message); } } public function hasModule($name) { return isset($this->modules[$name]); } public function getCurrentModuleNames() { return array_keys($this->modules); } public function getModule($name) { if (!$this->hasModule($name)) { throw new ModuleRequireException($name, "module is not enabled"); } return $this->modules[$name]; } public function getTestsDir() { return Config::testsDir(); } public function getLogDir() { return Config::outputDir(); } public function getDataDir() { return Config::dataDir(); } public function getRootDir() { return Config::projectDir(); } public function getGlobalConfig() { return Config::config(); } }