Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
PHP Assert Assertion::notIsInstanceOfの例
プログラミング言語:
PHP
名前空間/パッケージ名:
Assert
クラス/型:
Assertion
メソッド/関数:
notIsInstanceOf
hotexamples.comのコード掲載数:
1
PHP Assert Assertion::notIsInstanceOf - 1件のコード例が見つかりました
。すべてオープンソースプロジェクトから抽出されたPHPの
Assert\Assertion::notIsInstanceOf
の実例で、最も評価が高いものを厳選しています。コード例の評価を行っていただくことで、より質の高いコード例が表示されるようになります。
よく使われるメソッド
表示
非表示
keyExists(30)
notNull(30)
integer(30)
inArray(30)
eq(30)
isInstanceOf(30)
boolean(30)
notEmpty(30)
isArray(30)
allIsInstanceOf(30)
true(30)
uuid(30)
string(30)
greaterThan(27)
min(27)
false(23)
regex(22)
greaterOrEqualThan(22)
notBlank(21)
numeric(20)
minLength(20)
nullOrString(19)
same(19)
choice(18)
file(16)
implementsInterface(16)
url(15)
classExists(14)
float(14)
email(14)
count(13)
lessOrEqualThan(10)
scalar(9)
isJsonString(8)
allString(8)
nullOrInteger(8)
integerish(8)
range(7)
notEmptyKey(7)
lessThan(7)
maxLength(7)
keyIsset(6)
ClassExists(6)
directory(6)
nullOrScalar(5)
readable(5)
choicesNotEmpty(5)
contains(4)
notEq(4)
allIntegerish(4)
よく使われるメソッド
keyExists (30)
notNull (30)
integer (30)
inArray (30)
eq (30)
isInstanceOf (30)
boolean (30)
notEmpty (30)
isArray (30)
allIsInstanceOf (30)
よく使われるメソッド
true (30)
uuid (30)
string (30)
greaterThan (27)
min (27)
false (23)
regex (22)
greaterOrEqualThan (22)
notBlank (21)
numeric (20)
minLength (20)
nullOrString (19)
same (19)
choice (18)
file (16)
implementsInterface (16)
url (15)
classExists (14)
float (14)
email (14)
よく使われるメソッド
minLength (20)
nullOrString (19)
same (19)
choice (18)
file (16)
implementsInterface (16)
url (15)
classExists (14)
float (14)
email (14)
count (13)
lessOrEqualThan (10)
scalar (9)
isJsonString (8)
allString (8)
nullOrInteger (8)
integerish (8)
range (7)
notEmptyKey (7)
lessThan (7)
maxLength (7)
keyIsset (6)
ClassExists (6)
directory (6)
nullOrScalar (5)
readable (5)
choicesNotEmpty (5)
contains (4)
notEq (4)
allIntegerish (4)
よく使われるメソッド
count (13)
lessOrEqualThan (10)
scalar (9)
isJsonString (8)
allString (8)
nullOrInteger (8)
integerish (8)
range (7)
notEmptyKey (7)
lessThan (7)
maxLength (7)
keyIsset (6)
ClassExists (6)
directory (6)
nullOrScalar (5)
readable (5)
choicesNotEmpty (5)
contains (4)
notEq (4)
allIntegerish (4)
max (4)
startsWith (3)
writeable (3)
date (3)
allInArray (3)
length (3)
isObject (3)
notSame (2)
allNotBlank (2)
nullOrUuid (2)
subclassOf (2)
allChoice (2)
endsWith (2)
digit (2)
allScalar (2)
methodExists (2)
betweenLength (2)
noContent (2)
alnum (1)
NullOrAssertionDoesNotExist (1)
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
Assertion Class Documentation
コード例 #1
0
ファイルを表示
ファイル:
AssertTest.php
プロジェクト:
GerDner/luck-docker
public function testValidNotIsInstanceOf() { Assertion::notIsInstanceOf(new \stdClass(), 'PDO'); }