Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

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
{
}