PHP code example of jeyroik / extas-event-provider
1. Go to this page and download the library: Download jeyroik/extas-event-provider library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jeyroik / extas-event-provider example snippets
use League\Event\Emitter;
$emitter = new Emitter;
$emitter->useListenerProvider(new extas\components\events\EventProvider());
$emitter->emit('any.stage');