mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +00:00
Automated formatting changes
This commit is contained in:
parent
c2334057b3
commit
7968f39f10
|
|
@ -46,14 +46,14 @@ class BaseModelMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'belongsToOne' => [
|
'belongsToOne' => [
|
||||||
'mapper' => BelongsToModelMapper::class,
|
'mapper' => BelongsToModelMapper::class,
|
||||||
'external' => 'test_base_belongs_to_one',
|
'external' => 'test_base_belongs_to_one',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'ownsOneSelf' => [
|
'ownsOneSelf' => [
|
||||||
'mapper' => OwnsOneModelMapper::class,
|
'mapper' => OwnsOneModelMapper::class,
|
||||||
'external' => 'test_base_owns_one_self',
|
'external' => 'test_base_owns_one_self',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -66,9 +66,9 @@ class BaseModelMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $hasMany = [
|
protected static array $hasMany = [
|
||||||
'hasManyDirect' => [
|
'hasManyDirect' => [
|
||||||
'mapper' => ManyToManyDirectModelMapper::class,
|
'mapper' => ManyToManyDirectModelMapper::class,
|
||||||
'table' => 'test_has_many_direct',
|
'table' => 'test_has_many_direct',
|
||||||
'self' => 'test_has_many_direct_to',
|
'self' => 'test_has_many_direct_to',
|
||||||
'external' => null,
|
'external' => null,
|
||||||
],
|
],
|
||||||
'hasManyRelations' => [
|
'hasManyRelations' => [
|
||||||
|
|
@ -78,11 +78,11 @@ class BaseModelMapper extends DataMapperAbstract
|
||||||
'self' => 'test_has_many_rel_relations_dest',
|
'self' => 'test_has_many_rel_relations_dest',
|
||||||
],
|
],
|
||||||
'conditional' => [
|
'conditional' => [
|
||||||
'mapper' => ConditionalMapper::class,
|
'mapper' => ConditionalMapper::class,
|
||||||
'table' => 'test_conditional',
|
'table' => 'test_conditional',
|
||||||
'self' => 'test_conditional_base',
|
'self' => 'test_conditional_base',
|
||||||
'column' => 'title',
|
'column' => 'title',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
'external' => null,
|
'external' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user