Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Main {
- public function __construct(){}
- static function newSlimApp() {
- return _hx_anonymous(array("app" => new \Slim\App()));
- }
- static function main() {
- $slim = _hx_anonymous(array("app" => new \Slim\App()));
- {
- $slim->app->get("/pippa", function ($req, $res)
- {
- {
- print_r($req);
- print_r($res);
- $this["view"]->display("profile.html");
- }
- });
- }
- }
- function __toString() { return 'Main'; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement