src/Commands/AdminThemeCommand.php
protected function exportControllers()
    {
        foreach ($this->controllers as $key => $value) {

            $path = app_path('Http/Controllers/'.$value);

            $this->line('<info>Controller:</info> '.$path);

            file_put_contents(
                app_path('Http/Controllers/'.$value),
                $this->compileControllerStub($key)
            );
        }
    }
protected function exportControllers()
    {
        foreach ($this->controllers as $key => $value) {

            $path = app_path('Http/Controllers/'.$value);

            $this->line('<info>Controller:</info> '.$path);

            file_put_contents(
                app_path('Http/Controllers/'.$value),
                $this->compileControllerStub($key)
            );
        }
    }
Export the controllers.

@return void