Esempio n. 1
0
 static function parseMethods($class)
 {
     $rc = new \ReflectionClass($class);
     foreach ($rc->getMethods() as $m) {
         (yield $m => DocComment::parse($m->getDocComment()));
     }
 }