Pārlūkot izejas kodu

index description parsed

tags/0.1.0
Robin Thoni 9 gadus atpakaļ
vecāks
revīzija
8b1c1eb0ee
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/Doc/Business/LuDocBusiness.php

+ 2
- 0
src/Doc/Business/LuDocBusiness.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt