title: get set properties in php
body: <p>I'm from the C# environment and I'm starting to learn PHP in school.
  I'm used to set my properties in C# like this.</p>
  
  <pre><code>public int ID { get; set; }
  </code></pre>
  
  <p>What's the equivalent to this in php?</p>
  
  <p>Thanks.</p>