Просмотр исходного кода

Adding BxDolFactory as separate file

Alex Trofimov 10 лет назад
Родитель
Сommit
b50fc13349
2 измененных файлов с 18 добавлено и 8 удалено
  1. 0 8
      inc/classes/BxDol.php
  2. 18 0
      inc/classes/BxDolFactory.php

+ 0 - 8
inc/classes/BxDol.php

@@ -25,14 +25,6 @@ class BxDol
     public function __construct () {}
 }
 
-/**
- * Base class for all classes with protected constructor
- */
-class BxDolFactory
-{
-    protected function __construct () {}
-}
-
 /**
  * Singleton interface, for objects with one instance only
  */

+ 18 - 0
inc/classes/BxDolFactory.php

@@ -0,0 +1,18 @@
+<?php defined('BX_DOL') or defined('BX_DOL_INSTALL') or die('hack attempt');
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaCore UNA Core
+ * @{
+ */
+
+/**
+ * Base class for all classes with protected constructor
+ */
+class BxDolFactory
+{
+    protected function __construct () {}
+}
+
+/** @} */