ReflectionMethod::isProtected
PHP Manual
PHP Manual»ReflectionMethod»ReflectionMethod::isProtected

ReflectionMethod::isProtected

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isProtectedChecks if method is protected

Descrizione

public function ReflectionMethod::isProtected(): bool

Checks if the method is protected.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

true if the method is protected, otherwise false

Vedere anche:

To Top