. * * @author TechFuze * @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net) * @copyright Copyright (c) 1996 - 2015, Free Software Foundation, Inc. (http://www.fsf.org/) * @license http://opensource.org/licenses/GPL-3.0 GPLv3 License * * @link http://fuzeworks.techfuze.net * @since Version 0.0.1 * * @version Version 0.0.1 */ namespace Module\Api; use FuzeWorks\Module; /** * Loading class for multiple API types. * * Currently loads a REST API class which controllers can extend so they provide a standardized API * * @author Abel Hoogeveen * @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net) */ class Main { use Module; /** * Gets loaded upon module initialization. * * Loads all the API types */ public function onLoad() { include_once self::getModulePath().'/class.rest.php'; } }