]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/factories/html/class_HtmlNewsFactory.php
Continued:
[core.git] / inc / main / classes / factories / html / class_HtmlNewsFactory.php
index 400513398049815624d24050fd3687b05f915b33..f98fe98dcb13a95448d203e0f765d721bd587534 100644 (file)
@@ -3,7 +3,9 @@
 namespace CoreFramework\Factory\News;
 
 // Import framework stuff
+use CoreFramework\Factory\BaseFactory;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Request\Requestable;
 
 /**
  * A news factory for web pages
@@ -28,11 +30,6 @@ use CoreFramework\Factory\ObjectFactory;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class HtmlNewsFactory extends BaseFactory {
-       /**
-        * Instance of a request class
-        */
-       private $requestInstance = NULL;
-
        /**
         * Protected constructor
         *
@@ -47,7 +44,7 @@ class HtmlNewsFactory extends BaseFactory {
         * Singleton getter for a special factory instance depending on the given
         * request
         *
-        * @param       $requestInstance        An instance of a request class
+        * @param       $requestInstance        An instance of a Requestable class
         * @return      $factoryInstance        An instance of a HtmlNewsFactory class
         */
        public static final function createFactoryByRequest (Requestable $requestInstance) {