W3cubDocs

/PHP

The PropertyHookType Enum

Introduction

(PHP 8 >= 8.4)

The PropertyHookType enum lists the legal types of property hook.

Enum synopsis

enum PropertyHookType
{
case Get ; // Indicates a get hook.

case Set ; // Indicates a set hook.

}

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