PHP Classes

11549-PHP-Listen-and-emit-events-handled-by-callbacks

Recommend this page to a friend!

      Observable PHP Event Listener and Emitter  >  All threads  >  11549-PHP-Listen-and-emit-events-hand...  >  (Un) Subscribe thread alerts  
Subject:11549-PHP-Listen-and-emit-events-hand...
Summary:how to use
Messages:1
Author:Roberta
Date:2020-03-01 23:46:46
 

  1. 11549-PHP-Listen-and-emit-events-hand...   Reply   Report abuse  
Picture of Roberta Roberta - 2020-03-01 23:46:46
I want to try this in a page, however I observe that it requires:
/vendor/autoload.php
---dont have that dir (vendor) (what is that?)
---dont have that autoload.php (what is that?)

also $emitter = \COC\Event\Emitter::getInstance()
---dont have that dir (COC) (what is that?)
is Event - the src dir?

Do I need some kind of special setup or install this is some particular way - I cuurently use for dev - MAMPPro4.5