Closed
Description
Currently when a property is private and no getter is defined, symfony won't get the value in an object's property, instead an exception will be thrown. However the private property could very well be accessible using the magic __call
method. Actually this is very useful to have for Doctrine entities that extend the Doctrine\Common\Persistence\PersistentObject
abstract class, which uses the __call
method to provide getProperty, setProperty and addProperty functionality.
Metadata
Metadata
Assignees
Labels
No labels