*/ namespace wishthis; class Options { public function __construct(private Database $database) { } public function getOption(string $key): string { $option = $this->database->query( 'SELECT * FROM `options` WHERE `key` = "' . $key . '";' )->fetch(); return $option['value']; } }