]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Config/DbaConfig.php
Check and add a server
[friendica.git] / src / Model / Config / DbaConfig.php
index aa6a1f3e278f2a0b400e9f95249c1874615065ad..87bc6004123f1ac3000784abbddd906887aea5c1 100644 (file)
@@ -1,14 +1,40 @@
 <?php
+/**
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
 
 namespace Friendica\Model\Config;
 
 use Friendica\Database\Database;
 
+/**
+ * The DB-based model of (P-)Config values
+ * Encapsulates db-calls in case of config queries
+ */
 abstract class DbaConfig
 {
        /** @var Database */
        protected $dba;
 
+       /**
+        * @param Database $dba The database connection of this model
+        */
        public function __construct(Database $dba)
        {
                $this->dba = $dba;