PHP Classes

File: src/AppBundle/Resources/config/doctrine/mapping/Game.mongodb.xml

Recommend this page to a friend!
  Classes of Omar Shaban   PHP Game of Three   src/AppBundle/Resources/config/doctrine/mapping/Game.mongodb.xml   Download  
File: src/AppBundle/Resources/config/doctrine/mapping/Game.mongodb.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Game of Three
Game of Three implementation using Websockets
Author: By
Last change:
Date: 3 years ago
Size: 1,144 bytes
 

Contents

Class file image Download
<doctrine-mongo-mapping xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd"> <document name="GameOThree\Core\Model\Game" collection="game"> <field fieldName="id" id="true" /> <embed-one field="player1" target-document="Player" /> <embed-one field="player2" target-document="Player" /> <embed-one field="controller" target-document="Player" /> <field fieldName="startValue" type="integer" /> <field fieldName="currentValue" type="integer" /> <field fieldName="result" type="integer" /> <field fieldName="winner" type="integer" /> <field fieldName="lastInput" type="integer" /> <field fieldName="status" type="integer" /> <field fieldName="lastUpdate" type="date" /> <field fieldName="lastUpdate" type="date" /> </document> </doctrine-mongo-mapping>