ReflectionProperty
PHP Manual

ReflectionProperty::isPrivate

(PHP 5, PHP 7)

ReflectionProperty::isPrivateChecks if property is private

Description

public bool ReflectionProperty::isPrivate ( void )

Checks whether the property is private.

Parameters

This function has no parameters.

Return Values

TRUE if the property is private, FALSE otherwise.

See Also


ReflectionProperty
PHP Manual