Filter public methods and allow inheritance.

This commit is contained in:
Barry vd. Heuvel
2013-03-10 01:38:34 +01:00
parent 6b30c504bf
commit 6909c6131e
2 changed files with 2 additions and 1854 deletions
-1854
View File
File diff suppressed because it is too large Load Diff
@@ -57,6 +57,8 @@ class GeneratorCommand extends Command {
protected function parseDocBlocks($aliases){ protected function parseDocBlocks($aliases){
$d = new Parser(); $d = new Parser();
$d->setAllowInherited(true);
$d->setMethodFilter(\ReflectionMethod::IS_PUBLIC);
$output = "<?php\r\ndie('Only to be used as an helper for your IDE');\n"; $output = "<?php\r\ndie('Only to be used as an helper for your IDE');\n";