Serverfireteam\Panel\Commands\CreateModelObserverCommand::getDefaultNamespace PHP Method

getDefaultNamespace() protected method

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
return string The namespace of the panel's observers
    protected function getDefaultNamespace($rootNamespace)
    {
        return $rootNamespace . '\\Observers';
    }
CreateModelObserverCommand