Calling a non static function in a static child class php
<p>I have a singleton class that extends a normal class. (Class1)</p>

<p>The normal class has two non-static functions called set() and get(). (Class2)</p>

<p>A third class (Class3) which gets the singleton's (Class1's) instance uses the set() and get() through the singleton. It works fine using Class3, but is there any way to use the get() method inside the singleton from the parent class to see what the "third" class set it to? </p>

<p>I can't seem to call the get because it's non static. Please let me know if this is confusing. </p>

<pre><code>class Class1 {
     public function doThings(){
         $this-&gt;view-&gt;set("css","1234");
     }
}

class Singleton extends Class3 {
      static public function instance()
      {
           if (!self::$_instance instanceof self) {
           self::$_instance = new self();
           }

          return self::$_instance;
      }
      //I want this singleton to call get("css") and have it return the value.

}


class Class3{
     public function get(arg){//implementation } 
     public function set(arg){//implementation }
}
</code></pre>
