notIsInstanceOf() public static method

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
return boolean
コード例 #1
0
ファイル: AssertTest.php プロジェクト: GerDner/luck-docker
 public function testValidNotIsInstanceOf()
 {
     Assertion::notIsInstanceOf(new \stdClass(), 'PDO');
 }