PHP 8.5.0 Alpha 2 available for testing

ReflectionMethod::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPrivateVerifica si el método es privado

Descripción

public ReflectionMethod::isPrivate(): bool

Verifica si el método es privado.

Parámetros

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

Valores devueltos

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

Ver también

add a note

User Contributed Notes

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