Added ability to use @hidefromapidocumentation on classes

This commit is contained in:
shalvah
2020-05-15 17:30:30 +01:00
parent a90d020203
commit 42d43a7f09
8 changed files with 42 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ class RouteDocBlocker
throw new \Exception("Error while fetching docblock for route ". c::getRouteRepresentation($route).": Class $className does not contain method $methodName");
}
$method = u::reflectRouteMethod([$className, $methodName]);
$method = u::getReflectedRouteMethod([$className, $methodName]);
$docBlocks = [
'method' => new DocBlock($method->getDocComment() ?: ''),