/**
* Generates code from a given model
*
* @param GenerateableInterface $model
* @return string the generated code
*/
public function generate(GenerateableInterface $model)
{
if ($this->config->getGenerateDocblock()) {
$model->generateDocblock();
}
return $this->strategy->generate($model);
}