Skip to content
Snippets Groups Projects
Commit e3e24d70 authored by Susanne Moog's avatar Susanne Moog Committed by Georg Ringer
Browse files

[FEATURE] Introduce Attributes for Extbase Annotations

Since PHP 8, native attributes are supported. In comparison to
annotations, attributes have auto-completion, are better readable
and were "invented" for storing meta-information about properties.

Extbase annotations are already nearly 1:1 translatable to attributes.

The following annotations have been enriched for usage as attributes:

@Extbase\ORM\Transient
@Extbase\ORM\Cascade
@Extbase\ORM\Lazy
@Extbase\IgnoreValidation
@Extbase\Validate

Resolves: #96688
Releases: main
Change-Id: I8f83790869bcca12cf8c8e2967fd24c468eea104
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73217


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 46829938
Branches
Tags
Showing
with 513 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment