This commit is contained in:
Xes
2025-08-14 22:41:49 +02:00
parent 2de81ccc46
commit 8ce45119b6
39774 changed files with 4309466 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ namespace }};
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/easy-extends )
*
* References :
* bundles : http://symfony.com/doc/current/book/bundles.html
*
* @author <yourname> <youremail>
*/
class {{ application }}{{ bundle }} extends Bundle
{
/**
* {@inheritdoc}
*/
public function getParent()
{
return '{{ bundle }}';
}
}

View File

@@ -0,0 +1,40 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\Document;
use {{ namespace }}\Document\{{ name }} as {{ extended_name }};
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
*
* References :
* working with object : http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/working-with-objects.html
*
* @author <yourname> <youremail>
*/
class {{ class }} extends {{ extended_name }}
{
/**
* @var integer $id
*/
protected $id;
/**
* Get id
*
* @return integer $id
*/
public function getId()
{
return $this->id;
}
}

View File

@@ -0,0 +1,27 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\Document;
use {{ namespace}}\Document\Base{{ name }}Repository;
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
*
* References :
* query builder : http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/query-builder-api.html
*
* @author <yourname> <youremail>
*/
class {{ name }}Repository extends Base{{ name }}Repository
{
}

View File

@@ -0,0 +1,42 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\Entity;
use {{ namespace }}\Entity\{{ name }} as {{ extended_name }};
/**
* This file has been generated by the Sonata EasyExtends bundle.
*
* @link https://sonata-project.org/bundles/easy-extends
*
* References :
* working with object : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
*
* @author <yourname> <youremail>
*/
class {{ class }} extends {{ extended_name }}
{
/**
* @var int $id
*/
protected $id;
/**
* Get id
*
* @return int $id
*/
public function getId()
{
return $this->id;
}
}

View File

@@ -0,0 +1,29 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\Entity;
use {{ namespace}}\Entity\Base{{ name }}Repository;
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
*
* References :
* custom repository : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en#querying:custom-repositories
* query builder : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/query-builder/en
* dql : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/dql-doctrine-query-language/en
*
* @author <yourname> <youremail>
*/
class {{ name }}Repository extends Base{{ name }}Repository
{
}

View File

@@ -0,0 +1,40 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\PHPCR;
use {{ namespace }}\PHPCR\{{ name }} as {{ extended_name }};
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
*
* References :
* working with object : http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/index.html
*
* @author <yourname> <youremail>
*/
class {{ class }} extends {{ extended_name }}
{
/**
* @var integer $id
*/
protected $id;
/**
* Get id
*
* @return integer $id
*/
public function getId()
{
return $this->id;
}
}

View File

@@ -0,0 +1,27 @@
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace {{ extended_namespace }}\PHPCR;
use {{ namespace}}\PHPCR\Base{{ name }}Repository;
/**
* This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
*
* References :
* query builder : http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/query-builder-api.html
*
* @author <yourname> <youremail>
*/
class {{ name }}Repository extends Base{{ name }}Repository
{
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<serializer>
<!--
This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
@author <yourname> <youremail>
-->
<class name="{{ namespace }}\Document\{{ name }}" exclusion-policy="all" xml-root-name="{{ root_name }}">
<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>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<serializer>
<!--
This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends )
@author <yourname> <youremail>
-->
<class name="{{ namespace }}\Entity\{{ name }}" exclusion-policy="all" xml-root-name="{{ root_name }}">
<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>