-
- /**
- * Static declaration of Friendica routes.
- *
- * Supports:
- * - Route groups
- * - Variable parts
- * Disregards:
- * - HTTP method other than GET
- * - Named parameters
- *
- * Handler must be the name of a class extending Friendica\BaseModule.
- *
- * @brief Static declaration of Friendica routes.
- * @param RouteCollector $routeCollector
- * @throws InternalServerErrorException
- */
- private function collectRoutes(RouteCollector $routeCollector)
- {
- $routeCollector->addRoute(['GET', 'POST'], '/itemsource[/{guid}]', Module\Itemsource::class);
-
- Hook::callAll('route_collection', $routeCollector);
- }