1
0
mirror of synced 2024-12-17 00:18:42 +03:00
doctrine2/lib/Doctrine/ORM/Tools/Export/Driver/annotation.tpl.php

24 lines
612 B
PHP

[?php
<?php if ($this->hasNamespace($metadata)): ?>
namespace <?php echo $this->getNamespace($metadata) ?>;
<?php endif; ?>
<?php if ($this->extendsClass()): ?>
use <?php echo $this->getClassToExtendNamespace() ?>;
<?php endif; ?>
/**
<?php if ($metadata->isMappedSuperclass): ?>
* @MappedSuperclass
<?php else: ?>
* @Entity
<?php endif; ?>
* <?php echo $this->getTableAnnotation($metadata)."\n" ?>
*/
class <?Php echo $this->getClassName($metadata) ?><?php if ($this->extendsClass()): ?> extends <?php echo $this->getClassToExtendName() ?><?php endif; ?>
{
<?php include('annotation_body.tpl.php') ?>
}