title: How to find out if class properties are private or public?
body: <p>After creating a class with private, protected, and public variables, how can I find out which are private, protected, and public (from outside the class)?</p>
  
  <p>By the way I want to know because I want to extract only the public model attributes I set in /Phalcon/Mvc/Model.</p>
  
  <p>To clarify: I am not looking for a list of the attributes, but the scope of every attribute.</p>