用于多态多对多关联被关联的模型中使用,查询对应的左侧模型列表
$model : string
关联的模型类 可以是包含命名空间的完整类名 可以同命名空间下的类名
$modelField : string
关联的模型用于关联的字段
$field : string
当前模型用于关联的字段
$type : string
多态类型字段名
$typeValue : mixed
多态类型字段值
$middle : string
中间表模型 可以是包含命名空间的完整类名 可以同命名空间下的类名
$defaultFieldName : string
只传一个参数时的参数名
$data : array
数据
__construct( $data = array())
offsetGet( $offset)
__wakeup()
offsetExists( $offset)
offsetSet( $offset, $value)
offsetUnset( $offset)
current()
key()
next()
rewind()
valid()
__set( $name, $value)
__get( $name)
__isset( $name)
__unset( $name)
toArray() : array
将当前对象作为数组返回
jsonSerialize() : array
json 序列化