title: how to call two method with single line in php?
body: <p>I have seen in Laravel calling multiple method in the single line, example:</p>
  <pre><code>DB::get('test')-&gt;toJson();
  </code></pre>
  <p>I have a cool class and view method in that class.</p>
  <pre><code>$this-&gt;call-&gt;view('welcome')-&gt;anotherMethod();
  </code></pre>
  <p>I would like to call another method also? Where should I make that method?</p>