Library/HTTP/Router.php
static private function _registerDispatch() {
        // Register dispatch function
        $auto_dispatch = !is_null(Config::get('router.auto_dispatch')) ?
            Config::get('router.auto_dispatch') :
            true;
        
        if (!self::$_dispatch_registered && $auto_dispatch) {
            // Make sure things ends here...
            register_shutdown_function(function() {
                // Get response data from Dispatcher
                $response = self::dispatch();
            });
            
            // Mark as dispatched
            self::$_dispatch_registered = true;
        }
    }
static private function _registerDispatch() {
        // Register dispatch function
        $auto_dispatch = !is_null(Config::get('router.auto_dispatch')) ?
            Config::get('router.auto_dispatch') :
            true;
        
        if (!self::$_dispatch_registered && $auto_dispatch) {
            // Make sure things ends here...
            register_shutdown_function(function() {
                // Get response data from Dispatcher
                $response = self::dispatch();
            });
            
            // Mark as dispatched
            self::$_dispatch_registered = true;
        }
    }
static private function _registerDispatch ( ) { // Register dispatch function $ auto_dispatch = ! is_null ( Config :: get ( 'router.auto_dispatch' ) ) ? Config :: get ( 'router.auto_dispatch' ) : true ; if ( ! self :: $ _dispatch_registered && $ auto_dispatch ) { // Make sure things ends here... register_shutdown_function ( function ( ) { // Get response data from Dispatcher $ response = self :: dispatch ( ) ; } ) ; // Mark as dispatched self :: $ _dispatch_registered = true ; } }
Register dispatch function on shutdown

@access  private
@return  void
Register dispatch function on shutdown