This is the Elefant front controller class. All dynamic requests are sent here to be handled and served. This was originally all contained in the main index.php file, but moving it to a class meant additional optimizations when running under HHVM.
index.php
Usage:
require 'lib/FrontController.php'; FrontController::run ();
No properties.
public static run ($argv, $argc)
The front controller only has one static method, run(), which
run()
This is the Elefant front controller class. All dynamic requests are sent here to be handled and served. This was originally all contained in the main
index.php
file, but moving it to a class meant additional optimizations when running under HHVM.Usage: