@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public $users; |
| 36 | 36 | |
| 37 | - public function __construct($name = null, Group $parent = null) |
|
| 37 | + public function __construct($name = null, Group $parent = null) |
|
| 38 | 38 | { |
| 39 | 39 | $this->name = $name; |
| 40 | 40 | $this->parent = $parent; |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | { |
| 274 | 274 | $metadata->setPrimaryTable( |
| 275 | 275 | [ |
| 276 | - 'name' => 'cms_users', |
|
| 276 | + 'name' => 'cms_users', |
|
| 277 | 277 | ] |
| 278 | 278 | ); |
| 279 | 279 | |
@@ -332,34 +332,34 @@ discard block |
||
| 332 | 332 | 'entities' => [ |
| 333 | 333 | [ |
| 334 | 334 | 'fields'=> [ |
| 335 | - [ |
|
| 335 | + [ |
|
| 336 | 336 | 'name' => 'id', |
| 337 | 337 | 'column' => 'id', |
| 338 | - ], |
|
| 339 | - [ |
|
| 338 | + ], |
|
| 339 | + [ |
|
| 340 | 340 | 'name' => 'name', |
| 341 | 341 | 'column' => 'name', |
| 342 | - ], |
|
| 343 | - [ |
|
| 342 | + ], |
|
| 343 | + [ |
|
| 344 | 344 | 'name' => 'status', |
| 345 | 345 | 'column' => 'status', |
| 346 | - ], |
|
| 347 | - [ |
|
| 346 | + ], |
|
| 347 | + [ |
|
| 348 | 348 | 'name' => 'address.zip', |
| 349 | 349 | 'column' => 'zip', |
| 350 | - ], |
|
| 351 | - [ |
|
| 350 | + ], |
|
| 351 | + [ |
|
| 352 | 352 | 'name' => 'address.city', |
| 353 | 353 | 'column' => 'city', |
| 354 | - ], |
|
| 355 | - [ |
|
| 354 | + ], |
|
| 355 | + [ |
|
| 356 | 356 | 'name' => 'address.country', |
| 357 | 357 | 'column' => 'country', |
| 358 | - ], |
|
| 359 | - [ |
|
| 358 | + ], |
|
| 359 | + [ |
|
| 360 | 360 | 'name' => 'address.id', |
| 361 | 361 | 'column' => 'a_id', |
| 362 | - ], |
|
| 362 | + ], |
|
| 363 | 363 | ], |
| 364 | 364 | 'entityClass' => CmsUser::class, |
| 365 | 365 | 'discriminatorColumn' => null |
@@ -375,22 +375,22 @@ discard block |
||
| 375 | 375 | 'entities' => [ |
| 376 | 376 | [ |
| 377 | 377 | 'fields'=> [ |
| 378 | - [ |
|
| 378 | + [ |
|
| 379 | 379 | 'name' => 'id', |
| 380 | 380 | 'column' => 'id', |
| 381 | - ], |
|
| 382 | - [ |
|
| 381 | + ], |
|
| 382 | + [ |
|
| 383 | 383 | 'name' => 'name', |
| 384 | 384 | 'column' => 'name', |
| 385 | - ], |
|
| 386 | - [ |
|
| 385 | + ], |
|
| 386 | + [ |
|
| 387 | 387 | 'name' => 'status', |
| 388 | 388 | 'column' => 'status', |
| 389 | - ], |
|
| 390 | - [ |
|
| 389 | + ], |
|
| 390 | + [ |
|
| 391 | 391 | 'name' => 'phonenumbers.phonenumber', |
| 392 | 392 | 'column' => 'number', |
| 393 | - ], |
|
| 393 | + ], |
|
| 394 | 394 | ], |
| 395 | 395 | 'entityClass' => CmsUser::class, |
| 396 | 396 | 'discriminatorColumn' => null |
@@ -404,29 +404,29 @@ discard block |
||
| 404 | 404 | 'name' => 'mappingUserPhonenumberCount', |
| 405 | 405 | 'columns' => [], |
| 406 | 406 | 'entities' => [ |
| 407 | - [ |
|
| 407 | + [ |
|
| 408 | 408 | 'fields' => [ |
| 409 | - [ |
|
| 409 | + [ |
|
| 410 | 410 | 'name' => 'id', |
| 411 | 411 | 'column' => 'id', |
| 412 | - ], |
|
| 413 | - [ |
|
| 412 | + ], |
|
| 413 | + [ |
|
| 414 | 414 | 'name' => 'name', |
| 415 | 415 | 'column' => 'name', |
| 416 | - ], |
|
| 417 | - [ |
|
| 416 | + ], |
|
| 417 | + [ |
|
| 418 | 418 | 'name' => 'status', |
| 419 | 419 | 'column' => 'status', |
| 420 | - ] |
|
| 420 | + ] |
|
| 421 | 421 | ], |
| 422 | 422 | 'entityClass' => CmsUser::class, |
| 423 | 423 | 'discriminatorColumn' => null |
| 424 | - ] |
|
| 424 | + ] |
|
| 425 | 425 | ], |
| 426 | 426 | 'columns' => [ |
| 427 | - [ |
|
| 427 | + [ |
|
| 428 | 428 | 'name' => 'numphones', |
| 429 | - ] |
|
| 429 | + ] |
|
| 430 | 430 | ] |
| 431 | 431 | ] |
| 432 | 432 | ); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | { |
| 127 | 127 | $metadata->setPrimaryTable( |
| 128 | 128 | [ |
| 129 | - 'name' => 'company_person', |
|
| 129 | + 'name' => 'company_person', |
|
| 130 | 130 | ] |
| 131 | 131 | ); |
| 132 | 132 | |
@@ -191,18 +191,18 @@ discard block |
||
| 191 | 191 | 'entities' => [ |
| 192 | 192 | [ |
| 193 | 193 | 'fields' => [ |
| 194 | - [ |
|
| 194 | + [ |
|
| 195 | 195 | 'name' => 'id', |
| 196 | 196 | 'column' => 'id', |
| 197 | - ], |
|
| 198 | - [ |
|
| 197 | + ], |
|
| 198 | + [ |
|
| 199 | 199 | 'name' => 'city', |
| 200 | 200 | 'column' => 'city', |
| 201 | - ], |
|
| 202 | - [ |
|
| 201 | + ], |
|
| 202 | + [ |
|
| 203 | 203 | 'name' => 'country', |
| 204 | 204 | 'column' => 'country', |
| 205 | - ], |
|
| 205 | + ], |
|
| 206 | 206 | ], |
| 207 | 207 | 'entityClass' => CmsAddress::class, |
| 208 | 208 | ], |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | { |
| 16 | 16 | $metadata->mapField( |
| 17 | 17 | [ |
| 18 | - 'fieldName' => 'creditCardNumber', |
|
| 19 | - 'type' => 'string', |
|
| 18 | + 'fieldName' => 'creditCardNumber', |
|
| 19 | + 'type' => 'string', |
|
| 20 | 20 | ] |
| 21 | 21 | ); |
| 22 | 22 | } |
@@ -23,16 +23,16 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $metadata->mapField( |
| 25 | 25 | [ |
| 26 | - 'id' => true, |
|
| 27 | - 'fieldName' => 'id', |
|
| 28 | - 'type' => 'integer', |
|
| 29 | - 'columnName' => 'id', |
|
| 26 | + 'id' => true, |
|
| 27 | + 'fieldName' => 'id', |
|
| 28 | + 'type' => 'integer', |
|
| 29 | + 'columnName' => 'id', |
|
| 30 | 30 | ] |
| 31 | 31 | ); |
| 32 | 32 | $metadata->mapField( |
| 33 | 33 | [ |
| 34 | - 'fieldName' => 'value', |
|
| 35 | - 'type' => 'float', |
|
| 34 | + 'fieldName' => 'value', |
|
| 35 | + 'type' => 'float', |
|
| 36 | 36 | ] |
| 37 | 37 | ); |
| 38 | 38 | $metadata->isMappedSuperclass = true; |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | { |
| 16 | 16 | $metadata->mapField( |
| 17 | 17 | [ |
| 18 | - 'fieldName' => 'serialNumber', |
|
| 19 | - 'type' => 'string', |
|
| 18 | + 'fieldName' => 'serialNumber', |
|
| 19 | + 'type' => 'string', |
|
| 20 | 20 | ] |
| 21 | 21 | ); |
| 22 | 22 | } |
@@ -46,13 +46,13 @@ |
||
| 46 | 46 | { |
| 47 | 47 | $metadata->mapField( |
| 48 | 48 | [ |
| 49 | - 'id' => true, |
|
| 50 | - 'fieldName' => 'id', |
|
| 49 | + 'id' => true, |
|
| 50 | + 'fieldName' => 'id', |
|
| 51 | 51 | ] |
| 52 | 52 | ); |
| 53 | 53 | $metadata->mapField( |
| 54 | 54 | [ |
| 55 | - 'fieldName' => 'name', |
|
| 55 | + 'fieldName' => 'name', |
|
| 56 | 56 | ] |
| 57 | 57 | ); |
| 58 | 58 | |
@@ -17,10 +17,10 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $metadata->mapField( |
| 19 | 19 | [ |
| 20 | - 'id' => true, |
|
| 21 | - 'fieldName' => 'id', |
|
| 22 | - 'type' => 'integer', |
|
| 23 | - 'columnName' => 'id', |
|
| 20 | + 'id' => true, |
|
| 21 | + 'fieldName' => 'id', |
|
| 22 | + 'type' => 'integer', |
|
| 23 | + 'columnName' => 'id', |
|
| 24 | 24 | ] |
| 25 | 25 | ); |
| 26 | 26 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | $metadata->mapField( |
| 17 | 17 | [ |
| 18 | - 'fieldName' => 'name', |
|
| 18 | + 'fieldName' => 'name', |
|
| 19 | 19 | ] |
| 20 | 20 | ); |
| 21 | 21 | |