protected function addTemplateAssets($template)
    {
        /** @var SplFileInfo $file_info */
        foreach ($template->getAssets() as $filename => $file_info) {
            $this->assets->set($filename, $file_info->getRelativePathname());
        }
    }
protected function addTemplateAssets($template)
    {
        /** @var SplFileInfo $file_info */
        foreach ($template->getAssets() as $filename => $file_info) {
            $this->assets->set($filename, $file_info->getRelativePathname());
        }
    }
protected function addTemplateAssets ( $ template ) { /** @var SplFileInfo $file_info */ foreach ( $ template -> getAssets ( ) as $ filename => $ file_info ) { $ this -> assets -> set ( $ filename , $ file_info -> getRelativePathname ( ) ) ; } }
Adds the assets of the template to the Assets manager.

@param TemplateInterface $template

@return void
Adds the assets of the template to the Assets manager .