<?php 
namespace App; 
 
/** 
 * Abstract Listener 
 */ 
abstract class Listener 
{ 
    /** 
     * Forces the user to include the method hanndle(@param Event $event) to avoid complications, note: this class has to be extended in case of 
     * the use of listeners. 
     * 
     * @param Event $event 
     * @return void 
     */ 
    abstract public function handle(Event $event); 
} 
 
 |