Browse Source

index description parsed

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
8b1c1eb0ee
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/Doc/Business/LuDocBusiness.php

+ 2
- 0
src/Doc/Business/LuDocBusiness.php View File

92
             foreach ($businesses as $business) {
92
             foreach ($businesses as $business) {
93
                 $reflection = new ReflectionMethod($business->getBusinessClass(), $business->getBusinessMethod());
93
                 $reflection = new ReflectionMethod($business->getBusinessClass(), $business->getBusinessMethod());
94
                 $description = $reflection->getDocComment();
94
                 $description = $reflection->getDocComment();
95
+                $docParser = new DocBlock($description);
96
+                $description = $docParser->description;
95
                 if ($description === false) {
97
                 if ($description === false) {
96
                     $description = "No description available";
98
                     $description = "No description available";
97
                 }
99
                 }

Loading…
Cancel
Save