The %command.name% command generates a new event subscriber class or a new event listener class. php %command.full_name% ExceptionListener If the argument is missing, the command will ask for the class name interactively.