ReflectionMethod::isPublic

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPublicChecks if method is public

Beschreibung

public ReflectionMethod::isPublic(): bool

Checks if the method is public.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

true if the method is public, otherwise false

Siehe auch