Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - <?php
- namespace Custom;
- class Handler
- {
- public function get()
- {
- // do something
- // NEVER gets here
- }
- }
- $app = new \Phalcon\Mvc\Micro();
- $router = $app->getRouter();
- $router->add(
- '/',
- 'Custom\Handler::get'
- );
- $app->handle();
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    