protected function getPartialRootPaths()
    {
        if ($this->options['partialRootPaths'] !== null) {
            return $this->options['partialRootPaths'];
        }
        /** @var $actionRequest \TYPO3\Flow\Mvc\ActionRequest */
        $actionRequest = $this->controllerContext->getRequest();
        return array(str_replace('@packageResourcesPath', 'resource://' . $actionRequest->getControllerPackageKey(), $this->options['partialRootPathPattern']));
    }