/**
  * Creates a new 'OwnerType' instance.
  */
 public function __construct(EntityTypeInterface $parent = null, AttributeInterface $parent_attribute = null)
 {
     parent::__construct('Owner', [], new Options(array('referenced_type' => '\\HBDemo\\Commenting\\Owner\\Model\\Aggregate\\OwnerType', 'identifying_attribute' => 'identifier')), $parent, $parent_attribute);
 }
Exemple #2
0
 public function __construct(EntityTypeInterface $parent = null, AttributeInterface $parent_attribute = null)
 {
     parent::__construct('Team', [new Text('name', $this, [], $parent_attribute)], new Options(['referenced_type' => '\\Honeybee\\Tests\\Fixture\\GameSchema\\Model\\Team\\TeamType', 'identifying_attribute' => 'identifier']), $parent, $parent_attribute);
 }
 /**
  * Creates a new 'AccountType' instance.
  */
 public function __construct(EntityTypeInterface $parent = null, AttributeInterface $parent_attribute = null)
 {
     parent::__construct('Account', [], new Options(array('referenced_type' => '\\Honeybee\\SystemAccount\\Account\\Model\\Aggregate\\AccountType', 'identifying_attribute' => 'identifier')), $parent, $parent_attribute);
 }
 public function __construct(EntityTypeInterface $parent = null, AttributeInterface $parent_attribute = null)
 {
     parent::__construct('Book', [new TextAttribute('title', $this, ['mandatory' => true], $parent_attribute)], new Options(['referenced_type' => '\\Honeybee\\Tests\\Model\\Aggregate\\Fixture\\Book\\BookType', 'identifying_attribute' => 'identifier']), $parent, $parent_attribute);
 }
Exemple #5
0
 public function __construct(EntityTypeInterface $parent = null, AttributeInterface $parent_attribute = null)
 {
     parent::__construct('Player', [new Text('name', $this, [], $parent_attribute), new Text('tagline', $this, [], $parent_attribute), new GeoPointAttribute('area', $this, [], $parent_attribute), new EmbeddedEntityListAttribute('profiles', $this, ['entity_types' => ['\\Honeybee\\Tests\\Fixture\\GameSchema\\Model\\Game\\Embed\\ProfileType']], $parent_attribute)], new Options(['referenced_type' => '\\Honeybee\\Tests\\Fixture\\GameSchema\\Model\\Player\\PlayerType', 'identifying_attribute' => 'identifier']), $parent, $parent_attribute);
 }