mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-28 10:06:01 +08:00
Added ability to use @hidefromapidocumentation on classes
This commit is contained in:
@@ -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() ?: ''),
|
||||
|
||||
Reference in New Issue
Block a user