original_string: public function commands($commands)
      {
          $commands = is_array($commands) ? $commands : func_get_args();
  
          Artisan::starting(function ($artisan) use ($commands) {
              $artisan->resolveCommands($commands);
          });
      }
code: public function commands($commands)
      {
          $commands = is_array($commands) ? $commands : func_get_args();
  
          Artisan::starting(function ($artisan) use ($commands) {
              $artisan->resolveCommands($commands);
          });
      }
code_tokens: public function commands ( $ commands ) { $ commands = is_array ( $ commands ) ? $ commands : func_get_args ( ) ; Artisan :: starting ( function ( $ artisan ) use ( $ commands ) { $ artisan -> resolveCommands ( $ commands ) ; } ) ; }
docstring: Register the package's custom Artisan commands.
  
  @param  array|mixed  $commands
  @return void
docstring_tokens: Register the package s custom Artisan commands .