CacheWarmer/TemplatePathsCacheWarmer.php
protected function locateTemplate(FileLocatorInterface $locator, TemplateReference $template, array &$templates)
    {
        $templates[$template->getLogicalName()] = $locator->locate($template->getPath());
    }
protected function locateTemplate(FileLocatorInterface $locator, TemplateReference $template, array &$templates)
    {
        $templates[$template->getLogicalName()] = $locator->locate($template->getPath());
    }
protected function locateTemplate ( FileLocatorInterface $ locator , TemplateReference $ template , array & $ templates ) { $ templates [ $ template -> getLogicalName ( ) ] = $ locator -> locate ( $ template -> getPath ( ) ) ; }
Locates and appends template to an array

@param FileLocatorInterface $locator
@param TemplateReference    $template
@param array                $templates
Locates and appends template to an array