Implementation is realized in the DocblockPart
Author: Thomas Gossmann
コード例 #1
0
 /**
  * @param DocblockInterface $model
  * @return void
  */
 protected function buildDocblock(DocblockInterface $model)
 {
     $this->ensureBlankLine();
     if ($this->config->getGenerateDocblock()) {
         $model->generateDocblock();
     }
     $docblock = $model->getDocblock();
     if (!$docblock->isEmpty() || $this->config->getGenerateEmptyDocblock()) {
         $this->writer->writeln($docblock->toString());
     }
 }