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