public classOrInterfaceExistsSansAutoload ( ) : boolean | ||
Результат | boolean | True if defined. |
public function classOrInterfaceExistsSansAutoload()
{
return $this->classOrInterfaceExistsWithAutoload($this->interface, false);
}
function testClassNonExistence() { $reflection = new SimpleReflection('UnknownThing'); $this->assertFalse($reflection->classOrInterfaceExists()); $this->assertFalse($reflection->classOrInterfaceExistsSansAutoload()); }