Searched refs:rootPath (Results 1 – 1 of 1) sorted by relevance
34 private $rootPath; variable in Twig\\Loader\\FilesystemLoader38 … * @param string|null $rootPath The root path common to all relative paths (null for getcwd())40 public function __construct($paths = [], ?string $rootPath = null) argument42 $this->rootPath = ($rootPath ?? getcwd()).\DIRECTORY_SEPARATOR;43 if (null !== $rootPath && false !== ($realPath = realpath($rootPath))) {44 $this->rootPath = $realPath.\DIRECTORY_SEPARATOR;97 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;113 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;141 $len = \strlen($this->rootPath);142 if (0 === strncmp($this->rootPath, $path, $len)) {[all …]