* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class BaseProducer extends BaseFrameworkSystem {
+abstract class BaseProducer extends BaseFrameworkSystem {
/**
* Protected constructor
*
protected function __construct ($className) {
// Call parent constructor
parent::__construct($className);
+
+ // Initialize all producers
+ $this->initProducer();
}
+
+ /**
+ * Initializes this producer, this method must be overwritten.
+ *
+ * @return void
+ */
+ abstract protected function initProducer();
}
// [EOF]