serve() // $bp->version() // $bp->dbGet('db::record') // $bp->dbSet('db::record', 'value') // $bp->exec('arguments') public function serve(): void { return; } public function version(): string { return $this->blueprintplaceholderservice->version(); } public function dbGet($key): string { $a = $this->settings->get("blueprint::".$key); if (!$a) { return ""; } else { return $a; }; } public function dbSet($key, $value): void { $this->settings->set('blueprint::' . $key, $value); return; } public function exec($arg): string|null { return shell_exec("cd /var/www/".$this->blueprintplaceholderservice->folder().";bash blueprint.sh -exec ".$arg); } }