title: Access parent magic method from trait
body: <p>I'm trying to redefine the behaviour of the magic method <code>__set</code> in a trait. The problem shows up when I also want to access from the trait to the parent class custom <code>__set</code> function.</p>
  
  <pre><code>trait TestingTrait {
  
  
      public function __set($key, $value)
      {
          // Some stuff...
  
          parent::__set($key, $value);
          // self::__set($key, $value);
      }
  
  }
  
  class TestingClass {
  
      use TestingTrait;
  
  }
  
  $var = new TestingClass();
  $var-&gt;value = 'some value';
  </code></pre>
  
  <p>Everything works perfect until I need to also use the main class <code>__set</code> method as it's doing some other stuff with the variable sets.</p>
  
  <p>I've tried with <code>self</code> but it goes into an infinite loop. Is there any way to access the main class?</p>