Listener.php Interfaces, Classes and Traits Listener A listener is a very simple class that contains an event name and an action.