// Return the prepared instance
return $factoryInstance;
}
+
+ /**
+ * Create the news object itself here depending on the request
+ *
+ * @param $requestInstance An instance of a request class
+ * @return $newsInstance An instance of a news class
+ */
+ public function createNewObject (Requestable $requestInstance) {
+ // Do some stuff here
+ }
}
// [EOF]