GoLang ReflectionProperty::setAccessible

request it (372)
GoLang replacement for PHP's ReflectionProperty::setAccessible [edit | history]



Do you know a GoLang replacement for PHP's ReflectionProperty::setAccessible? Write it!

PHP ReflectionProperty::setAccessible

PHP original manual for ReflectionProperty::setAccessible [ show | php.net ]

ReflectionProperty::setAccessible

(PHP 5 >= 5.3.0, PHP 7)

ReflectionProperty::setAccessibleSet property accessibility

Description

public void ReflectionProperty::setAccessible ( bool $accessible )

Sets a property to be accessible. For example, it may allow protected and private properties to be accessed.

Parameters

accessible

TRUE to allow accessibility, or FALSE.

Return Values

No value is returned.

See Also