public function getContent()
{
return $this->content;
}
/** * @param AbstractModel $model * @return string */ public function generate(AbstractModel $model) { $this->writer->reset(); $builder = $this->factory->getBuilder($model); $builder->build($model); return $this->writer->getContent(); }