public function isInterface() { $reflection = new ReflectionClass($this->interface); return $reflection->isInterface(); }
function testDetectionOfInterfacesAlwaysFalse() { $reflection = new SimpleReflection('AnyOldThing'); $this->assertFalse($reflection->isAbstract()); $this->assertFalse($reflection->isInterface()); }