original_string: public function runBeforeRenderCallbacks()
      {
          $this->runningEventsBeforeRender = true;
  
          foreach ($this->runBeforeRenderCallbacks as $callback) {
              $callback();
          }
  
          $this->runBeforeRenderCallbacks = [];
  
          // Ask the view to notify sub leaves
          $this->view->runBeforeRenderCallbacks();
  
          $this->runningEventsBeforeRender = false;
      }
code: public function runBeforeRenderCallbacks()
      {
          $this->runningEventsBeforeRender = true;
  
          foreach ($this->runBeforeRenderCallbacks as $callback) {
              $callback();
          }
  
          $this->runBeforeRenderCallbacks = [];
  
          // Ask the view to notify sub leaves
          $this->view->runBeforeRenderCallbacks();
  
          $this->runningEventsBeforeRender = false;
      }
code_tokens: public function runBeforeRenderCallbacks ( ) { $ this -> runningEventsBeforeRender = true ; foreach ( $ this -> runBeforeRenderCallbacks as $ callback ) { $ callback ( ) ; } $ this -> runBeforeRenderCallbacks = [ ] ; // Ask the view to notify sub leaves $ this -> view -> runBeforeRenderCallbacks ( ) ; $ this -> runningEventsBeforeRender = false ; }
docstring: Run the before render callbacks.
docstring_tokens: Run the before render callbacks .