| @@ 573-582 (lines=10) @@ | ||
| 570 | if ($this->processMethod === false) { |
|
| 571 | return ""; |
|
| 572 | } |
|
| 573 | if (is_callable($this->filterMethods)) { |
|
| 574 | $ret = call_user_func($this->filterMethods, $reflectedMethod); |
|
| 575 | if (!$ret) { |
|
| 576 | return ""; |
|
| 577 | } |
|
| 578 | } else { |
|
| 579 | if (!$reflectedMethod->isPublic()) { |
|
| 580 | return ""; |
|
| 581 | } |
|
| 582 | } |
|
| 583 | ||
| 584 | $signature = $this->documentMethodSignature($reflectedMethod); |
|
| 585 | $docblock = $this->documentMethodDocBlock($reflectedMethod); |
|
| @@ 603-612 (lines=10) @@ | ||
| 600 | if ($this->processProperty === false) { |
|
| 601 | return ""; |
|
| 602 | } |
|
| 603 | if (is_callable($this->filterProperties)) { |
|
| 604 | $ret = call_user_func($this->filterProperties, $reflectedProperty); |
|
| 605 | if (!$ret) { |
|
| 606 | return ""; |
|
| 607 | } |
|
| 608 | } else { |
|
| 609 | if (!$reflectedProperty->isPublic()) { |
|
| 610 | return ""; |
|
| 611 | } |
|
| 612 | } |
|
| 613 | $signature = $this->documentPropertySignature($reflectedProperty); |
|
| 614 | $docblock = $this->documentPropertyDocBlock($reflectedProperty); |
|
| 615 | $propertyDoc = $signature . $docblock; |
|