Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Prado
Util
IInstanceCheck
isinstanceof
Prado\Util\IInstanceCheck::isinstanceof PHP Method
IInstanceCheck Interface Documentation
Mostrar archivo
Open project: pradosoft/prado
isinstanceof()
public
method
The method checks $this or, if needed, the parameter $instance is of type class. In the case of a Class Behavior, the instance to which the behavior is attached may be important to determine if $this is an instance of a particular class.
public
isinstanceof
(
$class
,
$instance
= null ) :
boolean
|
null
return
boolean
|
null
if the this or the instance is of type class. When null, no information could be derived and the default mechanisms take over.
public function isinstanceof($class, $instance = null);
IInstanceCheck
isinstanceof