original_string: public function autoDiscover()
      {
          $scanner = new CommandScanner();
  
          $core = $this->resolveNames($scanner->scanCore());
          $app = $this->resolveNames($scanner->scanApp());
  
          return array_merge($core, $app);
      }
code: public function autoDiscover()
      {
          $scanner = new CommandScanner();
  
          $core = $this->resolveNames($scanner->scanCore());
          $app = $this->resolveNames($scanner->scanApp());
  
          return array_merge($core, $app);
      }
code_tokens: public function autoDiscover ( ) { $ scanner = new CommandScanner ( ) ; $ core = $ this -> resolveNames ( $ scanner -> scanCore ( ) ) ; $ app = $ this -> resolveNames ( $ scanner -> scanApp ( ) ) ; return array_merge ( $ core , $ app ) ; }
docstring: Automatically discover shell commands in CakePHP, the application and all plugins.
  
  Commands will be located using filesystem conventions. Commands are
  discovered in the following order:
  
  - CakePHP provided commands
  - Application commands
  
  Commands defined in the application will ovewrite commands with
  the same name provided by CakePHP.
  
  @return string[] An array of command names and their classes.
docstring_tokens: Automatically discover shell commands in CakePHP the application and all plugins .