public function getPartialRootPaths()
{
if ($this->partialRootPaths !== []) {
return $this->partialRootPaths;
}
if ($this->partialRootPathPattern === null) {
return [];
}
$partialRootPath = $this->partialRootPathPattern;
if (isset($this->patternReplacementVariables['packageKey'])) {
$partialRootPath = str_replace('@packageResourcesPath', 'resource://' . $this->patternReplacementVariables['packageKey'], $partialRootPath);
}
return [$partialRootPath];
}