Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function generate()
 {
     $this->file->addUse(Document::class);
     $this->class->setParent('Document');
     $this->class->property('collection', ["Document collection, remove to make document embeddable.", "", "@var string"])->setDefault(true, null);
     parent::generate();
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function generate()
 {
     $this->file->addUse(Record::class);
     $this->class->setParent('Record');
     parent::generate();
 }