original_string: 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;
          }
      }
code: 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;
          }
      }
code_tokens: 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 ; } }
docstring: Register dispatch function on shutdown
  
  @access  private
  @return  void
docstring_tokens: Register dispatch function on shutdown