. */ namespace GnuBoat; /** * @brief Base class to handle provides Services */ abstract class Service { function __construct($debug = 0) { $this->setDebug($debug); } public function setDebug($debug) { $this->_debug = $debug; } public function debug() { return $this->_debug; } /** * @brief Function used to process and generate the needed output */ abstract public function process(); private $_debug; } ?>