null if no environments exist. * * @return array|null */ public function getEnvironments(); /** * Returns the configuration for a given environment. * * This method returns null if the specified environment * doesn't exist. * * @param string $name * @return array|null */ public function getEnvironment($name); /** * Does the specified environment exist in the configuration file? * * @param string $name Environment Name * @return boolean */ public function hasEnvironment($name); /** * Gets the default environment name. * * @throws \RuntimeException * @return string */ public function getDefaultEnvironment(); /** * Gets the config file path. * * @return string */ public function getConfigFilePath(); /** * Gets the path of the migration files. * * @return string */ public function getMigrationPath(); }