@@ -139,7 +139,7 @@ one or many entities from request data. You can convert a single entity using::
139139
140140 If you are using newEntity() and the resulting entities are missing some or
141141 all of the data they were passed, double check that the columns you want to
142- set are listed in the ``$_accessible `` property of your entity. See :ref: `entities-mass-assignment `.
142+ set are listed in the ``$patchable `` property of your entity. See :ref: `entities-mass-assignment `.
143143
144144The request data should follow the structure of your entities. For example if
145145you have an article, which belonged to a user, and had many comments, your
@@ -365,8 +365,8 @@ Changing Accessible Fields
365365--------------------------
366366
367367It's also possible to allow ``newEntity() `` to write into non accessible fields.
368- For example, ``id `` is usually absent from the ``_accessible `` property. In
369- such case, you can use the ``accessibleFields `` option. It could be useful to
368+ For example, ``id `` is usually absent from the ``patchable `` property. In
369+ such case, you can use the ``patchableFields `` option. It could be useful to
370370keep ids of associated entities::
371371
372372 // In a controller
@@ -377,7 +377,7 @@ keep ids of associated entities::
377377 'Tags', 'Comments' => [
378378 'associated' => [
379379 'Users' => [
380- 'accessibleFields ' => ['id' => true],
380+ 'patchableFields ' => ['id' => true],
381381 ],
382382 ],
383383 ],
@@ -391,7 +391,7 @@ concerned entity.
391391
392392 If you are using newEntity() and the resulting entities are missing some or
393393 all of the data they were passed, double check that the columns you want to
394- set are listed in the ``$_accessible `` property of your entity. See
394+ set are listed in the ``$patchable `` property of your entity. See
395395 :ref: `entities-mass-assignment `.
396396
397397Merging Request Data Into Entities
@@ -482,7 +482,7 @@ an important caveat:
482482If a Product belongsToMany Tag::
483483
484484 // in the Product Entity
485- protected array $_accessible = [
485+ protected array $patchable = [
486486 // .. other properties
487487 'tags' => true,
488488 ];
0 commit comments