title: How to call a protected method in php?
body: <p>here is the class structure. I want Observer:callme() to be callable from Children too.</p>
  
  <pre><code>class Observer
  {
      protected callme()
      {
      }
  }
  
  class Parent extends Observer
  {
      function createChild()
      {
          $this-&gt;callme(); // this is OK
          return new Child ($this);
      }
  }
  
  class Child
  {
      private $this myParent;
      public function __constructor ($myParent)
      {
          $this-&gt;myParent = $myParent;
      }
  
      public function __destroy()
      {
          $this-&gt;myParent-&gt;callme(); // FAIL!
      }
  }
  </code></pre>
  
  <p>so how to make FAIL work? (without making it public, because its only for used inside "Parent" and its "Children")</p>