new: usr: add mineseeker game to the symfony 4 project #3
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Sonata\UserBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
/**
|
||||
* This file has been generated by the SonataEasyExtendsBundle.
|
||||
*
|
||||
* @link https://sonata-project.org/easy-extends
|
||||
*
|
||||
* References:
|
||||
* @link http://symfony.com/doc/current/book/bundles.html
|
||||
*/
|
||||
class ApplicationSonataUserBundle extends Bundle
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getParent()
|
||||
{
|
||||
return 'SonataUserBundle';
|
||||
}
|
||||
}
|
||||
31
src/Application/Sonata/UserBundle/Document/Group.php
Normal file
31
src/Application/Sonata/UserBundle/Document/Group.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Sonata\UserBundle\Document;
|
||||
|
||||
use Sonata\UserBundle\Document\BaseGroup as BaseGroup;
|
||||
|
||||
/**
|
||||
* This file has been generated by the SonataEasyExtendsBundle.
|
||||
*
|
||||
* @link https://sonata-project.org/easy-extends
|
||||
*
|
||||
* References:
|
||||
* @link http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/working-with-objects.html
|
||||
*/
|
||||
class Group extends BaseGroup
|
||||
{
|
||||
/**
|
||||
* @var int $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int $id
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
31
src/Application/Sonata/UserBundle/Document/User.php
Normal file
31
src/Application/Sonata/UserBundle/Document/User.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Sonata\UserBundle\Document;
|
||||
|
||||
use Sonata\UserBundle\Document\BaseUser as BaseUser;
|
||||
|
||||
/**
|
||||
* This file has been generated by the SonataEasyExtendsBundle.
|
||||
*
|
||||
* @link https://sonata-project.org/easy-extends
|
||||
*
|
||||
* References:
|
||||
* @link http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/working-with-objects.html
|
||||
*/
|
||||
class User extends BaseUser
|
||||
{
|
||||
/**
|
||||
* @var int $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int $id
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
31
src/Application/Sonata/UserBundle/Entity/Group.php
Normal file
31
src/Application/Sonata/UserBundle/Entity/Group.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Sonata\UserBundle\Entity;
|
||||
|
||||
use Sonata\UserBundle\Entity\BaseGroup as BaseGroup;
|
||||
|
||||
/**
|
||||
* This file has been generated by the SonataEasyExtendsBundle.
|
||||
*
|
||||
* @link https://sonata-project.org/easy-extends
|
||||
*
|
||||
* References:
|
||||
* @link http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
|
||||
*/
|
||||
class Group extends BaseGroup
|
||||
{
|
||||
/**
|
||||
* @var int $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int $id
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
31
src/Application/Sonata/UserBundle/Entity/User.php
Normal file
31
src/Application/Sonata/UserBundle/Entity/User.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Sonata\UserBundle\Entity;
|
||||
|
||||
use Sonata\UserBundle\Entity\BaseUser as BaseUser;
|
||||
|
||||
/**
|
||||
* This file has been generated by the SonataEasyExtendsBundle.
|
||||
*
|
||||
* @link https://sonata-project.org/easy-extends
|
||||
*
|
||||
* References:
|
||||
* @link http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
|
||||
*/
|
||||
class User extends BaseUser
|
||||
{
|
||||
/**
|
||||
* @var int $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int $id
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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="App\Application\Sonata\UserBundle\Document\Group" collection="fos_user_group">
|
||||
|
||||
<field fieldName="id" id="true" strategy="INCREMENT" />
|
||||
|
||||
</document>
|
||||
|
||||
</doctrine-mongo-mapping>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
|
||||
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
|
||||
|
||||
<entity name="App\Application\Sonata\UserBundle\Entity\Group" table="fos_user_group">
|
||||
|
||||
<id name="id" column="id" type="integer">
|
||||
<generator strategy="AUTO" />
|
||||
</id>
|
||||
|
||||
</entity>
|
||||
|
||||
</doctrine-mapping>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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="App\Application\Sonata\UserBundle\Document\User" collection="fos_user_user" customId="true">
|
||||
|
||||
<field fieldName="id" id="true" strategy="INCREMENT" />
|
||||
|
||||
</document>
|
||||
|
||||
</doctrine-mongo-mapping>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
|
||||
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
|
||||
|
||||
<entity name="App\Application\Sonata\UserBundle\Entity\User" table="fos_user_user">
|
||||
|
||||
<id name="id" column="id" type="integer">
|
||||
<generator strategy="AUTO" />
|
||||
</id>
|
||||
|
||||
</entity>
|
||||
|
||||
</doctrine-mapping>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serializer>
|
||||
<!-- This file has been generated by the SonataEasyExtendsBundle: https://sonata-project.org/bundles/easy-extends -->
|
||||
<class name="App\Application\Sonata\UserBundle\Document\Group" exclusion-policy="all" xml-root-name="_group">
|
||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search"/>
|
||||
</class>
|
||||
</serializer>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serializer>
|
||||
<!-- This file has been generated by the SonataEasyExtendsBundle: https://sonata-project.org/bundles/easy-extends -->
|
||||
<class name="App\Application\Sonata\UserBundle\Document\User" exclusion-policy="all" xml-root-name="_user">
|
||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search"/>
|
||||
</class>
|
||||
</serializer>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serializer>
|
||||
<!-- This file has been generated by the SonataEasyExtendsBundle: https://sonata-project.org/bundles/easy-extends -->
|
||||
<class name="App\Application\Sonata\UserBundle\Entity\Group" exclusion-policy="all" xml-root-name="_group">
|
||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search"/>
|
||||
</class>
|
||||
</serializer>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serializer>
|
||||
<!-- This file has been generated by the SonataEasyExtendsBundle: https://sonata-project.org/bundles/easy-extends -->
|
||||
<class name="App\Application\Sonata\UserBundle\Entity\User" exclusion-policy="all" xml-root-name="_user">
|
||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search"/>
|
||||
</class>
|
||||
</serializer>
|
||||
Reference in New Issue
Block a user