1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Fix wrong use of private in mapped superclasses, only protected is supported here.

This commit is contained in:
Benjamin Eberlei 2012-02-13 11:18:35 +01:00
parent ea95bd57ef
commit 138b67db86

View File

@ -35,14 +35,14 @@ Example:
class MappedSuperclassBase
{
/** @Column(type="integer") */
private $mapped1;
protected $mapped1;
/** @Column(type="string") */
private $mapped2;
protected $mapped2;
/**
* @OneToOne(targetEntity="MappedSuperclassRelated1")
* @JoinColumn(name="related1_id", referencedColumnName="id")
*/
private $mappedRelated1;
protected $mappedRelated1;
// ... more fields and methods
}