Files
Chamilo/vendor/sonata-project/easy-extends-bundle/Resources/skeleton/phpcr/document.mustache
2025-04-10 12:24:57 +02:00

40 lines
850 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 }}\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;
}
}