7b21baee37
This commit introduces the GameConfiguration, a model that is not an entity. It also introduces GameConfigurationElement which is a doctrine entity. The two models make use of the traits introduced for CharacterProperty. They also use the new OneToManyCollection class, which implements the doctrine collection interface to a certain, limited extend. It mimicks doctrine's PersisentCollection.
13 lines
351 B
YAML
13 lines
351 B
YAML
game_configuration:
|
|
-
|
|
propertyName: "gameName"
|
|
propertyValue: 's:26:"Legend of the Green Dragon";'
|
|
-
|
|
propertyName: "gameVersion"
|
|
propertyValue: 's:7:"1.0.5.6";'
|
|
-
|
|
propertyName: "maxPlayerOnline"
|
|
propertyValue: 'i:30;'
|
|
-
|
|
propertyName: "testFloat"
|
|
propertyValue: 'd:30.4;' |