1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/tests_old/models/BaseSymfonyRecord.php

11 lines
257 B
PHP

<?php
abstract class BaseSymfonyRecord extends Doctrine_Entity
{
public static function initMetadata($class)
{
$class->setInheritanceType(Doctrine::INHERITANCE_TYPE_TABLE_PER_CLASS);
$class->setColumn('name', 'string', 30);
}
}