StoredUpload
Corex\Security\Upload\StoredUpload · class · Core layer
What {@see AttachmentStore} records on an attachment it keeps, and how that is read back. The two keys were string literals in the store and in three classes that read them. They are named here so that the writer and the readers cannot come to disagree, and they are not a contract: code outside the framework asks {@see contextOf()}, or for a form’s upload {@see FormUploads}, and does not read the meta.
Public API
Section titled “Public API”contextOf(int $attachmentId): ?string
Section titled “contextOf(int $attachmentId): ?string”The label an upload was stored under.