ReflectionProperty::isPublic

Checks if property is public

Description

public bool ReflectionProperty::isPublic()

Checks whether the property is public.

Parameters

This function has no parameters.

Return Values

true if the property is marked public, false otherwise.

Note: Note this refers only to the main visibility, and not to a set-visibility, if specified.

See Also

  • ReflectionProperty::isProtected
  • ReflectionProperty::isPrivate
  • ReflectionProperty::isReadOnly
  • ReflectionProperty::isStatic