I would like to know what is the recommended way to get parent class fields.
Is it better to set parent class fields protected
and use directly the fields, or set fields to private
and get them using getters in child classes?
Thank you very much.