protected function buildTraits(TraitsInterface $model)
 {
     foreach ($model->getTraits() as $trait) {
         $this->writer->write('use ');
         $this->writer->writeln($trait . ';');
     }
 }
 protected function visitTraits(TraitsInterface $struct)
 {
     foreach ($struct->getTraits() as $trait) {
         $this->writer->write('use ');
         $this->writer->writeln($trait . ';');
     }
 }