W3cubDocs

/CakePHP 4.4

Interface PropertyMarshalInterface

Behaviors implementing this interface can participate in entity marshalling.

This enables behaviors to define behavior for how the properties they provide/manage should be marshalled.

Namespace: Cake\ORM

Method Summary

  • buildMarshalMap() public

    Build a set of properties that should be included in the marshalling process.

Method Detail

buildMarshalMap() public

buildMarshalMap(Cake\ORM\Marshaller $marshaller, array $map, array<string, mixed> $options): array

Build a set of properties that should be included in the marshalling process.

Parameters

Cake\ORM\Marshaller $marshaller

The marhshaller of the table the behavior is attached to.

array $map

The property map being built.

array<string, mixed> $options

The options array used in the marshalling call.

Returns

array

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.ORM.PropertyMarshalInterface.html