how do I include a class in another file?
<p>I am new to object php, I have the following concern:
    is it possible to have one class included inside another class, and use it's method like:</p>

<p>in Anotherclass.php file</p>

<pre><code>  class Another
 {
    public $value = '';
    public function setValue($newvalue)
    {
      $this-&gt;value=$newvalue;
    }
    public function getValue()
    {
      return $this-&gt;value;
    }

 }
</code></pre>

<p>in Bootstrap.php  file:</p>

<pre><code>  require(Another.inc)
  class Bootstrap
 {
    public static function main($value)
{
    $obj =  new Another();
        $obj-&gt;  setValue($value)
       echo  $obj-&gt;getValue();  

     }
 }


  Bootstrap::main("test");
</code></pre>

<p>so when I call Bootstrap::main("test") in the Bootstrap.php file, can I get the output which is "test"? Any help will be greatly appreciated! </p>
