use PageMill\Action\Action;
$action = new Action(
"GET",
"/",
[]
);
$action->set_domain(function($a, $b, array $c) {
return ["Hi!"];
});
$action->set_responder(function(array $data) {
echo $data[0];
});
$action->__invoke();
-
Notifications
You must be signed in to change notification settings - Fork 0
An action class for PHP web applications
License
dealnews/PageMill.Action
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An action class for PHP web applications
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published