SimpleReflection::isAbstract PHP Method

isAbstract() public method

Trivially determines if the class is abstract.
public isAbstract ( )
    public function isAbstract()
    {
        $reflection = new ReflectionClass($this->interface);
        return $reflection->isAbstract();
    }

Usage Example

Esempio n. 1
0
 function testDetectionOfInterfacesAlwaysFalse()
 {
     $reflection = new SimpleReflection('AnyOldThing');
     $this->assertFalse($reflection->isAbstract());
     $this->assertFalse($reflection->isInterface());
 }
All Usage Examples Of SimpleReflection::isAbstract