title: Redirecting a request to another class
body: <p>I have three classes. <code>Class A</code>, <code>Class B</code>, <code>Class C</code>. What I am trying to do, send a request to Class B form Class A, and Class B must redirect that request to Class c.</p>
  
  <p>May be a simple example from below will give a certain idea.</p>
  
  <pre><code>class classa {
      public function __construct() {
          $obj_classb = new classb;
          $obj_classb -&gt; someRequest(); // This request must go to Class B and query the Class C        
      }
  }
  
  class classb {
      //This class must do something, which is going to redirect any sorts of request it receives to the next classc
  }
  
  class classc {
      public function someRequest() {
          //do whatever
      }
  }
  </code></pre>
  
  <p>Any Idea?</p>