(solved) Hidden field is exposed

@KevinPfeifer Kevin Pfeifer
Sun, 01 Sep 2024 14:22:26 +0000

the _hidden array doens’t prevent you from accessing the property or printing it out directly.

All it does is prevent it from being outputted via serialization, e.g.

pr($entity->toArray());

See Entities - 4.x