public function getBaseDir(): string
    {
        // Four levels back.
        $ds = DIRECTORY_SEPARATOR;
        $dir = __DIR__ . "$ds..$ds..$ds..$ds..$ds";
        $base_dir = realpath($dir);
        if (!$base_dir) {
            $message = 'Cannot resolve project base directory.';
            throw new Exception\RuntimeException($message);
        }

        return $base_dir;
    }
public function getBaseDir(): string
    {
        // Four levels back.
        $ds = DIRECTORY_SEPARATOR;
        $dir = __DIR__ . "$ds..$ds..$ds..$ds..$ds";
        $base_dir = realpath($dir);
        if (!$base_dir) {
            $message = 'Cannot resolve project base directory.';
            throw new Exception\RuntimeException($message);
        }

        return $base_dir;
    }
public function getBaseDir ( ) : string { // Four levels back. $ ds = DIRECTORY_SEPARATOR ; $ dir = __DIR__ . "$ds..$ds..$ds..$ds..$ds" ; $ base_dir = realpath ( $ dir ) ; if ( ! $ base_dir ) { $ message = 'Cannot resolve project base directory.' ; throw new Exception \ RuntimeException ( $ message ) ; } return $ base_dir ; }
Return pjbserver-tools installation base directory.

@throws Exception\RuntimeException
Return pjbserver - tools installation base directory .