setUpperLocator()
setUpperLocator(\Phug\Compiler\LocatorInterface|null $upperLocator)
Set a master locator to use before the internal one.
Parameters
\Phug\Compiler\LocatorInterface|null | $upperLocator | locator strategy |
Interface WithUpperLocatorInterface.
An interface for object than can have an upper locator. Used to get the precedence over the file locator, such as the cache registry locator.
setUpperLocator(\Phug\Compiler\LocatorInterface|null $upperLocator)
Set a master locator to use before the internal one.
\Phug\Compiler\LocatorInterface|null | $upperLocator | locator strategy |