W3cubDocs

/PHP

ReflectionProperty::isProtectedSet

(PHP 8 >= 8.4.0)

ReflectionProperty::isProtectedSetChecks whether the property is protected for writing

Description

public ReflectionProperty::isProtectedSet(): bool

Checks whether the property is protected for writing.

Parameters

This function has no parameters.

Return Values

true if the property is protected(set), false otherwise.

See Also

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionproperty.isprotectedset.php