File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,8 @@ Entities
7979An entity is a lightweight, persistent domain object. An entity can
8080be any regular PHP class observing the following restrictions:
8181
82- -  An entity class can be final or read-only when
83-    you use :ref: `native lazy objects  <reference-native-lazy-objects >`.
84-    It may contain final methods or read-only properties too.
82+ -  An entity class can be final or read-only. It may contain final
83+    methods or read-only properties too.
8584-  Any two entity classes in a class hierarchy that inherit
8685   directly or indirectly from one another must not have a mapped
8786   property with the same name. That is, if B inherits from A then B
Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ An entity contains persistable properties. A persistable property
4949is an instance variable of the entity that is saved into and retrieved from the database
5050by Doctrine's data mapping capabilities.
5151
52- An entity class can be final or read-only when you use
53- :ref: `native lazy objects  <reference-native-lazy-objects >`.
54- It may contain final methods or read-only properties too.
52+ An entity class can be final or read-only. It may contain final methods or read-only properties too.
5553
5654An Example Model: Bug Tracker
5755----------------------------- 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments