public function getRootDir()
    {
        if (null === $this->rootDir) {
            $reflector = new \ReflectionClass($this);
            $rootDir = dirname($reflector->getFileName());
            $this->rootDir = str_replace('vendor/james481/micro-cms/src/MicroCMS/Kernel', '', $rootDir);
        }

        return($this->rootDir);
    }