From 138b67db86414510b6aa390ee7126d664eea5a21 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei <kontakt@beberlei.de> Date: Mon, 13 Feb 2012 11:18:35 +0100 Subject: [PATCH] Fix wrong use of private in mapped superclasses, only protected is supported here. --- en/reference/inheritance-mapping.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/reference/inheritance-mapping.rst b/en/reference/inheritance-mapping.rst index 48ff855d8..9b44630a9 100644 --- a/en/reference/inheritance-mapping.rst +++ b/en/reference/inheritance-mapping.rst @@ -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 }