\Phug\CompilerWithUpperLocatorInterface

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.

Summary

Methods
Constants
setUpperLocator()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

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