*/ class WebService { public function __construct() { Logger::setConfig(new Config('Config/logger.php')); ErrorHandler::setConfig(new Config('Config/errors.php')); } /** * Activate the ########### and call the requested method */ public function call() { $########### = ###########::create###########(new Config('Config/###########.php')); $###########->###########equest(); } /** * Describe the exported classes of the web service */ public function describe() { $describer = new Describer(new Config('Config/describer.php')); $describer->describe(); } /** * Gets the namespaces of the web service */ public function getNamespaces() { $config = new Config('Config/describer.php'); $describer = new Describer($config); $namespaces = $describer->getNamespaces(); $writer = OutputWriter::createOutputWriter($config['namespaceWriter']); $writer->setResponse($namespaces); } }