Skip to content

Instantly share code, notes, and snippets.

@anandkunal
Created August 17, 2012 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anandkunal/3376212 to your computer and use it in GitHub Desktop.
Save anandkunal/3376212 to your computer and use it in GitHub Desktop.
<?php
// Fired for 404 errors
ToroHook::add("404", function() {});
// Before/After callbacks in order
ToroHook::add("before_request", function() {});
ToroHook::add("before_handler", function() {});
ToroHook::add("after_handler", function() {});
ToroHook::add("after_request", function() {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment