title: Can you give an example of how to use PHP __method__?
body: <p>I am looking over some PHP code and I found some references to the PHP constant <code>__METHOD__</code>. I read the PHP documentation but all it says is</p>
  
  <blockquote>
    <p>The class method name. (Added in PHP 5.0.0) The method name is
    returned as it was declared (case-sensitive).</p>
  </blockquote>
  
  <p>This isn't clear to me. Can anyone give an example or describe this in more detail?</p>