Skip to content

LabCake/Event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event

Easy event handler and emitter for php

Usage example

\LabCake\Event::register("test_event", function ($arg1, $arg2) {
    var_dump($arg1);
    var_dump($arg2);
});

\LabCake\Event::trigger("test_event", array("Hello", "World"));

Documentation not yet complete

Releases

No releases published

Packages

No packages published

Languages