1
0
mirror of synced 2025-02-03 22:09:26 +03:00
Jarek Jakubowski 38bfcc6a7a
Fix notice in ClassMetadata when there is no ID Column defined
When you forget about defining the ID/PK Column, then this ugly Notice appear.
Now it will throw nice Exception.
2017-04-30 11:38:47 +02:00

22 lines
260 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC6412;
/**
* @Entity
*/
class DDC6412File
{
/**
* @Column(type="integer")
* @GeneratedValue
*/
public $id;
/**
* @Column(length=50, name="file_name")
*/
public $name;
}