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

Recommend this page to a friend!
  Classes of Omar Shaban  >  PHP Game of Three  >  src/AppBundle/Resources/config/doctrine/mapping/Player.mongodb.xml  >  Download  
File: src/AppBundle/Resources/config/doctrine/mapping/Player.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 months ago
Size: 606 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\Player" collection="player">
        <field fieldName="id" id="true" strategy="NONE" type="string" />
        <field fieldName="human" type="boolean" />
    </document>
</doctrine-mongo-mapping>
For more information send a message to info at phpclasses dot org.