public function commands($commands)
    {
        $commands = is_array($commands) ? $commands : func_get_args();

        Artisan::starting(function ($artisan) use ($commands) {
            $artisan->resolveCommands($commands);
        });
    }
public function commands($commands)
    {
        $commands = is_array($commands) ? $commands : func_get_args();

        Artisan::starting(function ($artisan) use ($commands) {
            $artisan->resolveCommands($commands);
        });
    }
public function commands ( $ commands ) { $ commands = is_array ( $ commands ) ? $ commands : func_get_args ( ) ; Artisan :: starting ( function ( $ artisan ) use ( $ commands ) { $ artisan -> resolveCommands ( $ commands ) ; } ) ; }
Register the package's custom Artisan commands.

@param  array|mixed  $commands
@return void
Register the package s custom Artisan commands .