public function getPartialRootPath()
    {
        if ($this->partialRootPath === null && $this->templatePathAndFilename === null) {
            throw new Exception\InvalidTemplateResourceException('No partial root path has been specified. Use setPartialRootPath().', 1288094511);
        }
        if ($this->partialRootPath === null) {
            $this->partialRootPath = dirname($this->templatePathAndFilename) . '/Partials';
        }
        return $this->partialRootPath;
    }