secret; * * @param string variable name * @return mixed */ public function __get($key) { return $this->$key; } /** * Return a boolean if the property is set * * // Get the token secret * if ($token->secret) exit('YAY SECRET'); * * @param string variable name * @return bool */ public function __isset($key) { return isset($this->$key); } } // End Token