title: PHP CLASS Undefined variable (But it is defined)
body: <p>I just can't figure out why this error is even showing up:</p>
  
  <blockquote>
    <p>Notice: Undefined variable: authTime in /.../classname.class.php on line 33 </p>
  </blockquote>
  
  <pre><code>class ClassName {
  
  private $authTime = null;
  
  
  const API_URL       = '...';
  const CLIENT_ID     = '...';
  const CLIENT_SECRET = '...';
  
  private static $TOKEN     = NULL;
  
  
  public function __construct() {
  $this-&gt;_authTime = $authTime; // &lt;----- Line 33
  if(!self::$TOKEN OR $this-&gt;AuthTime('GET') &gt; 3600 OR !$this-&gt;_authTime) {
    self::authorise();
  }
  }
  
  public function getAuthTime() {
      return $this-&gt;_authTime; // Returns NULL
  }
  </code></pre>