src/Serverfireteam/Panel/Commands/CreateControllerPanelCommand.php
protected function getDefaultNamespace($rootNamespace)
	{
            $controllersPath = \Config::get('panel.controllers');
            if ( isset($controllersPath) && $controllersPath != NULL  ){
                return $controllersPath;
            } else {                
                return $rootNamespace.'\Http\Controllers';
            }            
	}
protected function getDefaultNamespace($rootNamespace)
	{
            $controllersPath = \Config::get('panel.controllers');
            if ( isset($controllersPath) && $controllersPath != NULL  ){
                return $controllersPath;
            } else {                
                return $rootNamespace.'\Http\Controllers';
            }            
	}
protected function getDefaultNamespace ( $ rootNamespace ) { $ controllersPath = \ Config :: get ( 'panel.controllers' ) ; if ( isset ( $ controllersPath ) && $ controllersPath != NULL ) { return $ controllersPath ; } else { return $ rootNamespace . '\Http\Controllers' ; } }
Get the default namespace for the class.

@param  string  $rootNamespace
@return string The namespace of the panel's controllers
Get the default namespace for the class .