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.
buildMarshalMap() publicBuild a set of properties that should be included in the marshalling process.
buildMarshalMap() public ¶
buildMarshalMap( Cake\ORM\Marhshaller $marshaller , array $map , array $options )
Build a set of properties that should be included in the marshalling process.
- Cake\ORM\Marhshaller $marshaller
- The marhshaller of the table the behavior is attached to.
- array $map
- The property map being built.
- array $options
- The options array used in the marshalling call.
A map of
[property => callable]of additional properties to marshal.