title: Is there a way to reassign $this?
body: <p>First of all, I do not want to extend a class. I would ideally like to do this.</p>
  
  <pre><code>public function __construct() {
   /* Set Framework Variable */
   global $Five;
   $this =&amp; $Five;
  }
  </code></pre>
  
  <p>I have a system where the variable $Five is a container class which contains other libraries. I could assign this to a local variable of Five... i.e.</p>
  
  <pre><code>public function __construct() {
   /* Set Framework Variable */
   global $Five;
   $this-&gt;Five = $Five;
  }
  </code></pre>
  
  <p>However, the reason why I am trying to avoid this is that function calls would be getting a little long.</p>
  
  <pre><code>$this-&gt;Five-&gt;load-&gt;library('library_name');
  </code></pre>
  
  <p>Its a little ugly. Far better would be.</p>
  
  <pre><code>$this-&gt;load-&gt;library('library_name');
  </code></pre>
  
  <p>What is the best solution for this?</p>