private function getBasePath() { if ($configPath = $this->configurationLoader->getConfigurationFilePath()) { return realpath(dirname($configPath)); } return realpath(getcwd()); }