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: 1 year ago
Size: 1,144 bytes


Class file image Download
<doctrine-mongo-mapping xmlns=""

    <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" />
For more information send a message to info at phpclasses dot org.