Maslosoft Mangan API
Class DbRefMeta
DbRef metadata holder
- Maslosoft\Mangan\Meta\BaseMeta uses Maslosoft\Addendum\Traits\MetaState (not available)
- Maslosoft\Mangan\Meta\DbRefMeta
Methods summary
Methods inherited from Maslosoft\Mangan\Meta\BaseMeta
Properties summary
public
boolean
|
$single
Whenever treat field as single referenced document |
#
false
|
public
boolean
|
$isArray
Whenever field should contain array of referenced documents. |
#
false
|
public
string
|
$class
Default class for referenced document |
#
''
|
public
boolean
|
$updatable
Whenever referenced objects should be updated on save of main document |
#
true
|
public
string|array
|
$key
Comparing key. This is used to update db ref instances from external sources. This is only usefull in db ref arrays. |
#
null
|
API documentation generated by ApiGen