protected function replaceNamespace($path)
    {
        $search = [
            'namespace ' . $this->currentRoot . ';',
            $this->currentRoot . '\\'
        ];
        
        $replace = [
            'namespace ' . $this->argument('name') . ';',
            $this->argument('name') . '\\'
        ];
        
        $this->replaceIn($path, $search, $replace);
    }