original_string: private function loadBlocks(DashboardInterface $dashboard): void
      {
          $blocks = $this->blockInteractor->loadDashboardBlocks($dashboard);
  
          // save a local cache
          foreach ($blocks as $block) {
              $this->blocks[$block->getId()] = $block;
          }
      }
code: private function loadBlocks(DashboardInterface $dashboard): void
      {
          $blocks = $this->blockInteractor->loadDashboardBlocks($dashboard);
  
          // save a local cache
          foreach ($blocks as $block) {
              $this->blocks[$block->getId()] = $block;
          }
      }
code_tokens: private function loadBlocks ( DashboardInterface $ dashboard ) : void { $ blocks = $ this -> blockInteractor -> loadDashboardBlocks ( $ dashboard ) ; // save a local cache foreach ( $ blocks as $ block ) { $ this -> blocks [ $ block -> getId ( ) ] = $ block ; } }
docstring: load all the related nested blocks linked to one dashboard.
docstring_tokens: load all the related nested blocks linked to one dashboard .