protected function getDocumentationDirectory($rootRelative = false)
    {
        $reflectionObject = new \ReflectionObject($this);
        $componentFile    = $reflectionObject->getFileName();
        $docDirectory     = dirname($componentFile).DIRECTORY_SEPARATOR.$this->basename;

        return $rootRelative ? substr($docDirectory, strlen(PATH_site) - 1) : $docDirectory;
    }