Lines Matching refs:rootPath
31 private $rootPath; variable in Twig\\Loader\\FilesystemLoader
35 * @param string|null $rootPath The root path common to all relative paths (null for getcwd())
37 public function __construct($paths = [], $rootPath = null) argument
39 $this->rootPath = (null === $rootPath ? getcwd() : $rootPath).\DIRECTORY_SEPARATOR;
40 if (false !== $realPath = realpath($rootPath)) {
41 $this->rootPath = $realPath.\DIRECTORY_SEPARATOR;
104 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
125 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
156 $len = \strlen($this->rootPath);
157 if (0 === strncmp($this->rootPath, $path, $len)) {
227 $path = $this->rootPath.$path;