PropertyMarshalInterface (class)

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.

Direct Implementers

Method Summary

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

Method Detail

buildMarshalMap()source public

buildMarshalMap( Cake\ORM\Marhshaller $marshaller , array $map , array $options )

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

Parameters

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.

Returns

array
A map of [property => callable] of additional properties to marshal.

© 2005–2017 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/3.3/class-Cake.ORM.PropertyMarshalInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部