PHP TypeLang Help

@phan-read-only

The @phan-read-only tag, paired with @phan-write-only, declares that a property may only ever be read, or only ever be written.

This library recognizes it as an alias: it parses identically to the canonical tag above and produces the exact same tag instance, keeping the vendor-prefixed name it was written with.

Defined by Phan.

07 July 2026