Continued:
[core.git] / inc / main / classes / factories / html / class_HtmlNewsFactory.php
index 400513398049815624d24050fd3687b05f915b33..ce86ac756af835af3042eab9c9b6a3ee6825ec32 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Factory\News;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Request\Requestable;
 
 /**
  * A news factory for web pages
@@ -28,11 +29,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 +43,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) {