annotation.tpl.php 497 Bytes
Newer Older
1 2
[?php

3 4
<?php if ($this->_hasNamespace($metadata)): ?>
namespace <?php echo $this->_getNamespace($metadata) ?>;
5
<?php endif; ?>
6

7
<?php if ($this->_extendsClass()): ?>
8
use <?php echo $this->_getClassToExtendNamespace() ?>;
9
<?php endif; ?>
10

11 12
<?php echo $this->_getEntityAnnotation($metadata) ?>
class <?php echo $this->_getClassName($metadata); ?><?php if ($this->_extendsClass()): ?> extends <?php echo $this->_getClassToExtendName() ?><?php endif; ?> 
13 14
{
<?php include('annotation_body.tpl.php') ?>
15
}