Php/docs/reflectionmethod.isdestructor

提供:Dev Guides
< Php
移動先:案内検索

ReflectionMethod::isDestructor

(PHP 5, PHP 7)

ReflectionMethod::isDestructorデストラクタであるかどうかを調べる


説明

public ReflectionMethod::isDestructor ( ) : bool

デストラクタであるかどうかを調べます。


パラメータ

この関数にはパラメータはありません。


返り値

デストラクタである場合に true、それ以外の場合に false を返します。


参考