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
yii
base
Object
hasMethod
yii\base\Object::hasMethod PHP Method
Object Class Documentation
显示文件
Open project: yiisoft/yii2
hasMethod()
public
method
The default implementation is a call to php function
method_exists()
. You may override this method when you implemented the php magic method
__call()
.
public
hasMethod
(
string
$name
) :
boolean
$name
string
the method name
return
boolean
whether the method is defined
public function hasMethod($name) { return method_exists($this, $name); }
Object
__call
__construct
__get
__isset
__set
__unset
canGetProperty
canSetProperty
className
hasMethod
hasProperty
init