title: Accessing private variable from static function in php
body: <p>I've got a private variable in my class</p>
  
  <pre><code>private $noms = array(
          "HANNY",
          "SYS",
          "NALINE"
  );
  </code></pre>
  
  <p>I want to access it from a static method:</p>
  
  <pre><code>public static function howManyNom($searchValue){
  
          $ar = $this-&gt;noms;
  
          foreach($ar as $key =&gt; $value) {
  
  ...
  </code></pre>
  
  <p>But as normal I cant retrieve it with $this because there's no instance on a static method.</p>
  
  <p>What's the right syntax to get $noms inside my static function?</p>