title: Creating a var from data created by another class
body: <p>I am having problems creating a variable with data from another class. Here is what I am doing...</p>
  
  <pre><code> &lt;?PHP
    class Customers extends Controller {
  
        private $foo = $this-&gt;session-&gt;userdata('foo');
    }
  </code></pre>