public function build(AbstractModel $model)
{
$this->sort($model);
$this->buildHeader($model);
// signature
$this->buildSignature($model);
// body
$this->writer->writeln(" {\n")->indent();
$this->buildTraits($model);
$this->buildProperties($model);
$this->buildMethods($model);
$this->writer->outdent()->rtrim()->write('}');
}