title: How to chain in phpquery (almost everything can be a chain)
body: <p>Good day everyone,
    I'm very new with phpquery and this is my first post here at stackoverflow for a reason that i cant find the correct for syntax for the phpquery chaining. I know someone knows what i been looking for. </p>
  
  <p>I only want to remove the a certain div inside a div.</p>
  
  <pre><code> &lt;div id = "content"&gt; 
          &lt;p&gt;The text that i want to display&lt;/p&gt;
          &lt;div class="node-links"&gt;Stuff i want to remove&lt;/div&gt;
   &lt;/content&gt;
  </code></pre>
  
  <p>This few lines of codes works perfect</p>
  
  <pre><code> pq('div.node-links')-&gt;remove();
   $text = pq('div#content');
   print $text; //output: The text that i want to display
  </code></pre>
  
  <p>But when I tried</p>
  
  <pre><code>$text = pq('div#content')-&gt;removeClass('div.node-links'); //or
  $text = pq('div#content')-&gt;remove('div.node-links');
  
   //output: The text that i want to display (+) Stuff i want to remove
  </code></pre>
  
  <p>Can someone tell me why the second block of code is not working?</p>
  
  <p>Thanks!  </p>