Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
phprs
util
Verify
PHP Class phprs\util\Verify
显示文件
Open project: caoym/phprs-restful
Class Usage Examples
Public Methods
Method
Description
e
(
Exception |
string
$e
)
isTrue
(
boolean
$var
,
string
| Exception
$msg
= null ) :
unknown
如果判断不为true,抛出异常
Method Details
e()
public
static
method
public
static
e
(
Exception |
string
$e
)
$e
Exception |
string
isTrue()
public
static
method
如果判断不为true,抛出异常
public
static
isTrue
(
boolean
$var
,
string
| Exception
$msg
= null ) :
unknown
$var
boolean
$msg
string
| Exception
return
unknown