X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=production%2Fexample_apps%2Fshared_calendar%2Fsrc%2FModel%2FEntity%2FUser.php;fp=production%2Fexample_apps%2Fshared_calendar%2Fsrc%2FModel%2FEntity%2FUser.php;h=316bf70845784cf8af2a6b3014574f55e39dd258;hb=34d1cb2e8687b826357db1d3821bf9e05cf6f13d;hp=0000000000000000000000000000000000000000;hpb=21f30bb859e6c15393e23ac0e5ef417b82f628a5;p=feisty_meow.git diff --git a/production/example_apps/shared_calendar/src/Model/Entity/User.php b/production/example_apps/shared_calendar/src/Model/Entity/User.php new file mode 100644 index 00000000..316bf708 --- /dev/null +++ b/production/example_apps/shared_calendar/src/Model/Entity/User.php @@ -0,0 +1,40 @@ + true, + 'id' => false + ]; + + /** + * Fields that are excluded from JSON versions of the entity. + * + * @var array + */ + protected $_hidden = [ + 'token' + ]; +}