History log of /PHP-Parser/lib/PhpParser/Node/PropertyHook.php (Results 1 – 5 of 5)
Revision Date Author Comments
# 6478c5ac 27-Dec-2024 Nikita Popov

Fix PropertyHook::getStmts() for set hook

Produce the correct desugaring if the propertyName attribute is
set, and set it in the parser. Otherwise throw an exception.

Fixes #105

Fix PropertyHook::getStmts() for set hook

Produce the correct desugaring if the propertyName attribute is
set, and set it in the parser. Otherwise throw an exception.

Fixes #1053.

show more ...


# 48fd76e5 27-Dec-2024 Nikita Popov

Make PropertyHook::getStmts() less incorrect

Still missing the assignment to the correct property, but at
least we're not returning from a non-void function now...


# f212bb7a 11-Dec-2024 Ondrej Mirtes

Add `PropertyHook::isFinal()` helper method with tests


# f43324a0 11-Dec-2024 Ondrej Mirtes

Missing flags subNode description in PropertyHook constructor PHPDoc


# 03caf4cc 14-Jul-2024 Nikita Popov

[8.4] Add support for property hooks

Add hooks subnode to Stmt\Property and Param, which contains an
array of PropertyHook.

The property hook support is considered experimental

[8.4] Add support for property hooks

Add hooks subnode to Stmt\Property and Param, which contains an
array of PropertyHook.

The property hook support is considered experimental and subject
to change.

RFC: https://wiki.php.net/rfc/property-hooks

show more ...