Best practices: New object instantiation within a class method
<p>Best practices question: Is there anything improper about creating a new object within another class method? I have a small example below:</p>

<pre><code>public function export() {

$orders = new Orders($id);
$all_orders = $orders-&gt;get_all_orders();

  }
</code></pre>
