title: ReflectionClass cast to "normal" Class
body: <p>I have a class TableData with two magic methods. One is the constructor and the other is the __call method.</p>
  
  <p>I have realized the invoke with following code:</p>
  
  <pre><code>$class = new ReflectionClass('TableData');
  $class-&gt;newInstanceArgs($parArray);
  </code></pre>
  
  <p>It work great. But now I want to use my magic method. So I call <code>$class-&gt;getData()</code>, but it doesn't work. I get the error, that I called an undefined method.<br>
  I tried to use ReflectionMethod and invoke, but it doesn't work again.  </p>
  
  <p>Is there no way to cast the ReflectionClass Object to my TableData class?</p>
  
  <p>Thanks for advice!</p>