Files
2025-08-14 22:41:49 +02:00

40 lines
866 B
Plaintext

<?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;
}
}