original_string: protected function initAdminDirectory()
      {
          $this->directory = config('admin.directory');
  
          if (is_dir($this->directory)) {
              $this->line("<error>{$this->directory} directory already exists !</error> ");
  
              return;
          }
  
          $this->makeDir('/');
          $this->line('<info>Admin directory was created:</info> '.str_replace(base_path(), '', $this->directory));
  
          $this->makeDir('Controllers');
  
          $this->createHomeController();
          $this->createExampleController();
          //$this->createAuthController();
          //$this->createAdministratorController();
  
          //$this->createMenuFile();
          $this->createBootstrapFile();
          $this->createRoutesFile();
  
          //$this->copyLanguageFiles();
      }
code: protected function initAdminDirectory()
      {
          $this->directory = config('admin.directory');
  
          if (is_dir($this->directory)) {
              $this->line("<error>{$this->directory} directory already exists !</error> ");
  
              return;
          }
  
          $this->makeDir('/');
          $this->line('<info>Admin directory was created:</info> '.str_replace(base_path(), '', $this->directory));
  
          $this->makeDir('Controllers');
  
          $this->createHomeController();
          $this->createExampleController();
          //$this->createAuthController();
          //$this->createAdministratorController();
  
          //$this->createMenuFile();
          $this->createBootstrapFile();
          $this->createRoutesFile();
  
          //$this->copyLanguageFiles();
      }
code_tokens: protected function initAdminDirectory ( ) { $ this -> directory = config ( 'admin.directory' ) ; if ( is_dir ( $ this -> directory ) ) { $ this -> line ( "<error>{$this->directory} directory already exists !</error> " ) ; return ; } $ this -> makeDir ( '/' ) ; $ this -> line ( '<info>Admin directory was created:</info> ' . str_replace ( base_path ( ) , '' , $ this -> directory ) ) ; $ this -> makeDir ( 'Controllers' ) ; $ this -> createHomeController ( ) ; $ this -> createExampleController ( ) ; //$this->createAuthController(); //$this->createAdministratorController(); //$this->createMenuFile(); $ this -> createBootstrapFile ( ) ; $ this -> createRoutesFile ( ) ; //$this->copyLanguageFiles(); }
docstring: Initialize the admin directory.
docstring_tokens: Initialize the admin directory .