notIsInstanceOf() 공개 정적인 메소드

Assert that value is not instance of given class-name.
public static notIsInstanceOf ( mixed $value, string $className, string | null $message = null, string | null $propertyPath = null ) : boolean
$value mixed
$className string
$message string | null
$propertyPath string | null
리턴 boolean
예제 #1
0
 public function testValidNotIsInstanceOf()
 {
     Assertion::notIsInstanceOf(new \stdClass(), 'PDO');
 }