(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isProtected — 檢查方法是否為 protected
檢查方法是否為 protected。
此函式沒有參數。
如果方法為 protected,則回傳 true,否則回傳 false
true
false