2009-09-30 08:35:43 +04:00
|
|
|
[?php
|
|
|
|
|
2009-10-05 08:11:29 +04:00
|
|
|
namespace <?php echo $this->getNamespace($metadata) ?>;
|
|
|
|
<?php if ($this->extendsClass()): ?>
|
|
|
|
|
|
|
|
use <?php echo $this->getClassToExtendNamespace() ?>;
|
|
|
|
<?php endif; ?>
|
2009-09-30 08:35:43 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
<?php if ($metadata->isMappedSuperclass): ?>
|
|
|
|
* @MappedSuperclass
|
|
|
|
<?php else: ?>
|
|
|
|
* @Entity
|
|
|
|
<?php endif; ?>
|
2009-10-05 08:11:29 +04:00
|
|
|
* <?php echo $this->getTableAnnotation($metadata)."\n" ?>
|
2009-09-30 08:35:43 +04:00
|
|
|
*/
|
2009-10-05 08:11:29 +04:00
|
|
|
class <?Php echo $this->getClassName($metadata) ?><?php if ($this->extendsClass()): ?> extends <?php echo $this->getClassToExtendName() ?><?php endif; ?>
|
2009-09-30 08:35:43 +04:00
|
|
|
|
2009-10-05 08:11:29 +04:00
|
|
|
{
|
|
|
|
<?php include('annotation_body.tpl.php') ?>
|
2009-09-30 08:35:43 +04:00
|
|
|
}
|