public function maps(array $commands) { $this->mappings = array_merge($this->mappings, $commands); }
/** * Register command-to-handler mappings. * * @param array $commands * @return void * @static */ public static function maps($commands) { \Illuminate\Bus\Dispatcher::maps($commands); }