Method | Description | |
---|---|---|
isinstanceof ( $class, $instance = null ) : boolean | null | 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. |