/** * @inheritdoc */ public function addArgument(ArgumentInterface $argument) { $this->getArgumentCollection()->add($argument); $tag = Tag::createFromArgument($argument); $this->getDocBlock()->addTag($tag); return $this; }