generate:event:subscriber

The generate:event:subscriber command: Generate an event subscriber

Usage:

        $ drupal generate:event:subscriber [options] 
    

Available options

Option Details
module The Module name.
name commands.generate.service.options.name
class commands.generate.service.options.class
events Load services from the container.
services Load services from the container.