Skip to content

safouane-ahmed-salah/php_events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

PHP Events

simulation of javascript event in php

usage:

use ActionManager\Action;

Action::on('test', function($a = '', $b =''){ return $a; });

Action::on('test', function($a=''){ return "b"; });

$a = Action::trigger('test', '1', '2');

print_r($a); // results: b

About

simulation of javascript event in php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages