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

9 lines
266 B
PHP

<?php
class EnumTest2 extends Doctrine_Entity
{
public static function initMetadata($class) {
$class->setColumn('status', 'enum', 11, array('values' => array('open', 'verified', 'closed')));
$class->setColumn('enum_test_id', 'integer');
}
}