PHP Classes

File: src/Contracts/Event/Listener.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Jaxon  >  src/Contracts/Event/Listener.php  >  Download  
File: src/Contracts/Event/Listener.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 2 years ago
Size: 876 bytes


Class file image Download

 * EventListener.php - Event listener
 * Allow the use of the class methods as event handlers.
 * See for more information.
 * @package jaxon-core
 * @author Thierry Feuzeu <>
 * @copyright 2017 Thierry Feuzeu <>
 * @license BSD 3-Clause License
 * @link

namespace Jaxon\Contracts\Event;


Listener extends EventSubscriberInterface
     * Return an array of events to listen to.
     * The array keys are event names and the value is the method name to call.
     * For instance:
     * ['eventType' => 'methodName']
     * @return array The event names to listen to
public function getEvents();

For more information send a message to info at phpclasses dot org.