Reference properties

From Sunhill Framework Documentation

Reference properties can refer to a record property. The reference acts like a property that passes the element of the refered record to the caller.

setAllowedProperty(array|string $allowed): static

This function takes either a single property identifier (that could be the property name or a namespaced class name) or an array of those.