/** * Returns all registered namespaces with the config * loader. * * @return array * @static */ public static function getNamespaces() { return \Illuminate\Config\Repository::getNamespaces(); }
/** * Return path of the administrator.php config file * @return string */ protected function getAdministratorConfigPath() { return $this->config->getNamespaces()['apigen'] . '/administrator.php'; }