Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator::__construct
Constructor.
Signature
public function __construct(FileLocatorInterface
$locator,
[string
$cacheDir = null] )
Parameters
$locator
— Symfony\Component\Config\FileLocatorInterface- A FileLocatorInterface instance
$cacheDir
— string- The cache path