Returns a reflection class instance for the passed class name.
public newReflectionClass ( string $className ) : ReflectionClass | ||
$className | string | The class name to return the reflection instance for |
return | ReflectionClass | The reflection instance |
/** * Test the reflection API method. * * @return void */ public function testNewReflectionClass() { $reflectionClass = $this->initialContext->newReflectionClass('AppserverIo\\Configuration\\Configuration'); $this->assertInstanceOf('\\ReflectionClass', $reflectionClass); }