original_string: protected function addTemplateAssets($template)
      {
          /** @var SplFileInfo $file_info */
          foreach ($template->getAssets() as $filename => $file_info) {
              $this->assets->set($filename, $file_info->getRelativePathname());
          }
      }
code: protected function addTemplateAssets($template)
      {
          /** @var SplFileInfo $file_info */
          foreach ($template->getAssets() as $filename => $file_info) {
              $this->assets->set($filename, $file_info->getRelativePathname());
          }
      }
code_tokens: protected function addTemplateAssets ( $ template ) { /** @var SplFileInfo $file_info */ foreach ( $ template -> getAssets ( ) as $ filename => $ file_info ) { $ this -> assets -> set ( $ filename , $ file_info -> getRelativePathname ( ) ) ; } }
docstring: Adds the assets of the template to the Assets manager.
  
  @param TemplateInterface $template
  
  @return void
docstring_tokens: Adds the assets of the template to the Assets manager .