public function __construct()
{
$config = \Exakat\Config::factory();
if ($config->is_phar) {
$this->phar_tmp = tempnam(sys_get_temp_dir(), 'exMethods') . '.sqlite';
copy($config->dir_root . '/data/composer.sqlite', $this->phar_tmp);
$docPath = $this->phar_tmp;
} else {
$docPath = $config->dir_root . '/data/composer.sqlite';
}
$this->sqlite = new \Sqlite3($docPath, \SQLITE3_OPEN_READONLY);
}