title: Is it ok to declare destructor as private?
body: <p>Some of my classes declare their constructors as private because an object of such class is only allowed to be created by a static method of the class. May I also declare destructors of such classes as private to keep it symmetric, is it safe?</p>
  
  <p><strong>EDIT</strong>: Ok, seems like this is simply not possible:</p>
  
  <pre><code>Fatal error: Call to private AClass::__destruct() from context '' in /script on line 0
  </code></pre>
  
  <p>(the context is empty and there's no such thing as line 0). For some reason I used to think that the PHP runtime is almighty and can destruct anything it wants.</p>