From f83715c370502a153e90ad15bceaf87a3104548f Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Sun, 25 May 2025 10:52:46 +0700 Subject: [PATCH] add function description --- src/SPC/builder/Extension.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/SPC/builder/Extension.php b/src/SPC/builder/Extension.php index 22c35d33..ca627b9d 100644 --- a/src/SPC/builder/Extension.php +++ b/src/SPC/builder/Extension.php @@ -203,6 +203,15 @@ class Extension return false; } + /** + * @return string + * returns a command line string with all required shared extensions to load + * i.e.; pdo_pgsql would return: + * + * `-d "extension=pgsql" -d "extension=pdo_pgsql"` + * @throws FileSystemException + * @throws WrongUsageException + */ public function getRequiredSharedExtensions(): string { $loaded = [];