PHP 8.5.0 Alpha 1 available for testing

ReflectionMethod::isProtected

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isProtectedVerifica si el método es protegido

Descripción

public ReflectionMethod::isProtected(): bool

Verifica si el método es protegido.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

true si el método es protegido, false en caso contrario.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top