Is my code correct? - PHP5
<p><strong>Edit:</strong><br />
Sorry to not write a question, I want to check if my code is the correct way to do that?</p>

<p><br />
I want to write a PHP5 class that initializes two private variables, and which contains a method "sum" that returns the sum of those variables.</p>

<pre><code>class Mini
{
     var $a;
     var $b


    private function sum()
    {

      return $a+$b;

    }
}
</code></pre>
