Tag reference
@phan-write-only
The @phan-write-only tag, paired with
@phan-read-only, declares that a
property may only ever be written, never read.
Grammar
"@phan-write-only" [ <Description> ]Examples
/** * @phan-write-only */public string $lastError = '';Names by platform
- phan
@phan-write-only
Parsing a @phan-write-only tag produces a PhanWriteOnlyTag instance. Being a pure
marker, it adds nothing beyond the $name and optional $description
every Tag already carries.
final class PhanWriteOnlyTag extends FlagTag {}Defined by Phan.