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