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
* 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
*
* 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) {