original_string: public function doFlush()
      {
          while ($unit = array_shift($this->unitOfWork)) {
              while ($operations = array_shift($unit)) {
                  while ($callback = array_shift($operations)) {
                      call_user_func($callback, $this->fileManager);
                  }
              }
          }
      }
code: public function doFlush()
      {
          while ($unit = array_shift($this->unitOfWork)) {
              while ($operations = array_shift($unit)) {
                  while ($callback = array_shift($operations)) {
                      call_user_func($callback, $this->fileManager);
                  }
              }
          }
      }
code_tokens: public function doFlush ( ) { while ( $ unit = array_shift ( $ this -> unitOfWork ) ) { while ( $ operations = array_shift ( $ unit ) ) { while ( $ callback = array_shift ( $ operations ) ) { call_user_func ( $ callback , $ this -> fileManager ) ; } } } }
docstring: Executes all scheduled callbacks in the unit of work.
  
  @return void
docstring_tokens: Executes all scheduled callbacks in the unit of work .