Access Class in Class Variable
<p>I have this code:</p>

<pre><code>class A
{
 public $db
}

class B
{
 public $cssA 

 public function __construct()
 {
  $this-&gt;cssA = new A();
 }
}
</code></pre>

<p>The question is, how can I call a method in <code>class B</code> from <code>class A</code>?</p>
