diff --git a/src/Parser/CommandInfo.php b/src/Parser/CommandInfo.php index 60a700a..8042bd9 100644 --- a/src/Parser/CommandInfo.php +++ b/src/Parser/CommandInfo.php @@ -183,7 +183,9 @@ public function getMethodName() */ public function getName() { - $this->parseDocBlock(); + if (empty($this->name)) { + $this->parseDocBlock(); + } return $this->name; }