public function createAdministratorController()
    {
        $controller = $this->directory.'/Controllers/AdministratorController.php';
        $contents = $this->getStub('AdministratorController');

        $this->laravel['files']->put(
            $controller,
            str_replace('DummyNamespace', Admin::controllerNamespace(), $contents)
        );
        $this->line(
            '<info>AdministratorController file was created:</info> '.str_replace(base_path(), '', $controller)
        );
    }
public function createAdministratorController()
    {
        $controller = $this->directory.'/Controllers/AdministratorController.php';
        $contents = $this->getStub('AdministratorController');

        $this->laravel['files']->put(
            $controller,
            str_replace('DummyNamespace', Admin::controllerNamespace(), $contents)
        );
        $this->line(
            '<info>AdministratorController file was created:</info> '.str_replace(base_path(), '', $controller)
        );
    }
public function createAdministratorController ( ) { $ controller = $ this -> directory . '/Controllers/AdministratorController.php' ; $ contents = $ this -> getStub ( 'AdministratorController' ) ; $ this -> laravel [ 'files' ] -> put ( $ controller , str_replace ( 'DummyNamespace' , Admin :: controllerNamespace ( ) , $ contents ) ) ; $ this -> line ( '<info>AdministratorController file was created:</info> ' . str_replace ( base_path ( ) , '' , $ controller ) ) ; }
Create AdministratorController.
Create AdministratorController .