Proyectos de Subversion LeadersLinked - Services

Rev

Rev 706 | Rev 721 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
352 ariadna 2
 
3
declare(strict_types=1);
4
 
1 efrain 5
namespace LeadersLinked;
6
 
7
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
352 ariadna 9
 
1 efrain 10
return [
11
    'navigation' => [
12
        'menu' => [],
13
        'footer' => [
14
            [
15
                'label' => 'LABEL_PRIVACY_POLICY',
570 stevensc 16
                'route' => 'privacy-policy'
1 efrain 17
            ],
18
            [
19
                'label' => 'LABEL_PROFESSIONALISM_POLICY',
570 stevensc 20
                'route' => 'professionalism-policy'
1 efrain 21
            ],
22
            [
23
                'label' => 'LABEL_COOKIES_POLICY',
570 stevensc 24
                'route' => 'cookies'
1 efrain 25
            ],
26
            [
27
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
570 stevensc 28
                'route' => 'terms-and-conditions'
29
            ]
30
        ]
1 efrain 31
    ],
32
    'router' => [
33
        'routes' => [
34
            'signin' => [
35
                'type' => Literal::class,
36
                'options' => [
37
                    'route' => '/signin',
38
                    'defaults' => [
570 stevensc 39
                        'controller' => '\LeadersLinked\Controller\AuthController',
40
                        'action' => 'signin'
41
                    ]
1 efrain 42
                ],
43
                'may_terminate' => true,
44
                'child_routes' => [
570 stevensc 45
 
1 efrain 46
                    'facebook' => [
47
                        'type' => Literal::class,
48
                        'options' => [
49
                            'route' => '/facebook',
50
                            'defaults' => [
570 stevensc 51
                                'controller' => '\LeadersLinked\Controller\AuthController',
52
                                'action' => 'facebook'
53
                            ]
54
                        ]
1 efrain 55
                    ],
56
                    'twitter' => [
57
                        'type' => Literal::class,
58
                        'options' => [
59
                            'route' => '/twitter',
60
                            'defaults' => [
570 stevensc 61
                                'controller' => '\LeadersLinked\Controller\AuthController',
62
                                'action' => 'twitter'
63
                            ]
64
                        ]
1 efrain 65
                    ],
66
                    'google' => [
67
                        'type' => Literal::class,
68
                        'options' => [
69
                            'route' => '/google',
70
                            'defaults' => [
570 stevensc 71
                                'controller' => '\LeadersLinked\Controller\AuthController',
72
                                'action' => 'google'
73
                            ]
74
                        ]
1 efrain 75
                    ],
76
                    'impersonate' => [
77
                        'type' => Literal::class,
78
                        'options' => [
79
                            'route' => '/impersonate',
80
                            'defaults' => [
570 stevensc 81
                                'controller' => '\LeadersLinked\Controller\AuthController',
82
                                'action' => 'impersonate'
83
                            ]
84
                        ]
1 efrain 85
                    ],
177 efrain 86
                    'debug' => [
119 efrain 87
                        'type' => Literal::class,
88
                        'options' => [
177 efrain 89
                            'route' => '/debug',
119 efrain 90
                            'defaults' => [
570 stevensc 91
                                'controller' => '\LeadersLinked\Controller\AuthController',
92
                                'action' => 'debug'
93
                            ]
94
                        ]
95
                    ]
96
                ]
1 efrain 97
            ],
570 stevensc 98
 
342 www 99
            'crypto' => [
341 www 100
                'type' => Segment::class,
101
                'options' => [
342 www 102
                    'route' => '/crypto',
341 www 103
                    'defaults' => [
570 stevensc 104
                        'controller' => '\LeadersLinked\Controller\HomeController',
105
                        'action' => 'crypto'
106
                    ]
341 www 107
                ],
570 stevensc 108
                'may_terminate' => true
341 www 109
            ],
570 stevensc 110
 
333 www 111
            'storage' => [
112
                'type' => Segment::class,
113
                'options' => [
114
                    'route' => '/storage/:code',
115
                    'constraints' => [
570 stevensc 116
                        'code' => '[A-Za-z0-9]+'
333 www 117
                    ],
118
                    'defaults' => [
570 stevensc 119
                        'controller' => '\LeadersLinked\Controller\HomeController',
120
                        'action' => 'storage'
121
                    ]
333 www 122
                ],
570 stevensc 123
                'may_terminate' => true
333 www 124
            ],
570 stevensc 125
 
255 efrain 126
            'share' => [
127
                'type' => Segment::class,
128
                'options' => [
129
                    'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
130
                    'constraints' => [
131
                        'type' => 'feed|post',
570 stevensc 132
                        'code' => '[A-Za-z0-9\-]+\=*',
133
                        'user' => '[A-Za-z0-9\-]+\=*',
255 efrain 134
                        'timestamp' => '[0-9]*',
135
                        'rand' => '[0-9]*',
570 stevensc 136
                        'password' => '[A-Za-z0-9]*'
255 efrain 137
                    ],
138
                    'defaults' => [
570 stevensc 139
                        'controller' => '\LeadersLinked\Controller\HomeController',
140
                        'action' => 'share'
141
                    ]
255 efrain 142
                ],
143
                'may_terminate' => true,
144
                'child_routes' => [
145
                    'increment-external-counter' => [
146
                        'type' => Segment::class,
147
                        'options' => [
148
                            'route' => '/increment-external-counter',
149
                            'defaults' => [
570 stevensc 150
                                'controller' => '\LeadersLinked\Controller\HomeController',
151
                                'action' => 'incTotalExternalShared'
152
                            ]
153
                        ]
154
                    ]
155
                ]
255 efrain 156
            ],
570 stevensc 157
 
1 efrain 158
            'shorter' => [
159
                'type' => Segment::class,
160
                'options' => [
161
                    'route' => '/shorter/:code',
162
                    'constraints' => [
570 stevensc 163
                        'code' => '[A-Za-z0-9\-]+\=*'
1 efrain 164
                    ],
165
                    'defaults' => [
570 stevensc 166
                        'controller' => '\LeadersLinked\Controller\ShorterController',
167
                        'action' => 'index'
168
                    ]
1 efrain 169
                ],
170
                'may_terminate' => true,
171
                'child_routes' => [
172
                    'generate' => [
173
                        'type' => Segment::class,
174
                        'options' => [
175
                            'route' => '/generate/:type',
176
                            'constraints' => [
570 stevensc 177
                                'type' => 'feed|post'
1 efrain 178
                            ],
179
                            'defaults' => [
570 stevensc 180
                                'controller' => '\LeadersLinked\Controller\ShorterController',
181
                                'action' => 'generate'
182
                            ]
183
                        ]
184
                    ]
185
                ]
1 efrain 186
            ],
570 stevensc 187
 
1 efrain 188
            'reset-password' => [
189
                'type' => Segment::class,
190
                'options' => [
191
                    'route' => '/reset-password/:code',
192
                    'constraints' => [
570 stevensc 193
                        'code' => '[a-zA-Z0-9--]+'
1 efrain 194
                    ],
195
                    'defaults' => [
570 stevensc 196
                        'controller' => '\LeadersLinked\Controller\AuthController',
197
                        'action' => 'resetPassword'
198
                    ]
199
                ]
1 efrain 200
            ],
201
            'forgot-password' => [
202
                'type' => Literal::class,
203
                'options' => [
204
                    'route' => '/forgot-password',
205
                    'defaults' => [
570 stevensc 206
                        'controller' => '\LeadersLinked\Controller\AuthController',
207
                        'action' => 'forgotPassword'
208
                    ]
209
                ]
1 efrain 210
            ],
211
            'signup' => [
212
                'type' => Literal::class,
213
                'options' => [
214
                    'route' => '/signup',
215
                    'defaults' => [
570 stevensc 216
                        'controller' => '\LeadersLinked\Controller\AuthController',
217
                        'action' => 'signup'
218
                    ]
219
                ]
1 efrain 220
            ],
221
            'activate-account' => [
222
                'type' => Segment::class,
223
                'options' => [
224
                    'route' => '/activate-account/:code',
225
                    'constraints' => [
570 stevensc 226
                        'code' => '[a-zA-Z0-9]+'
1 efrain 227
                    ],
228
                    'defaults' => [
570 stevensc 229
                        'controller' => '\LeadersLinked\Controller\AuthController',
230
                        'action' => 'activateAccount'
231
                    ]
232
                ]
1 efrain 233
            ],
234
            'signout' => [
235
                'type' => Literal::class,
236
                'options' => [
237
                    'route' => '/signout',
238
                    'defaults' => [
570 stevensc 239
                        'controller' => '\LeadersLinked\Controller\AuthController',
240
                        'action' => 'signout'
241
                    ]
242
                ]
1 efrain 243
            ],
244
            'csrf' => [
245
                'type' => Literal::class,
246
                'options' => [
247
                    'route' => '/csrf',
248
                    'defaults' => [
570 stevensc 249
                        'controller' => '\LeadersLinked\Controller\AuthController',
250
                        'action' => 'csrf'
251
                    ]
252
                ]
1 efrain 253
            ],
570 stevensc 254
 
1 efrain 255
            'onroom' => [
256
                'type' => Literal::class,
257
                'options' => [
258
                    'route' => '/onroom',
259
                    'defaults' => [
570 stevensc 260
                        'controller' => '\LeadersLinked\Controller\AuthController',
261
                        'action' => 'onroom'
262
                    ]
263
                ]
1 efrain 264
            ],
283 www 265
            'cesams' => [
266
                'type' => Literal::class,
267
                'options' => [
268
                    'route' => '/cesams',
269
                    'defaults' => [
570 stevensc 270
                        'controller' => '\LeadersLinked\Controller\AuthController',
271
                        'action' => 'cesams'
272
                    ]
273
                ]
283 www 274
            ],
1 efrain 275
            'home' => [
276
                'type' => Literal::class,
277
                'options' => [
278
                    'route' => '/',
279
                    'defaults' => [
570 stevensc 280
                        'controller' => '\LeadersLinked\Controller\HomeController',
281
                        'action' => 'index'
282
                    ]
283
                ]
1 efrain 284
            ],
515 ariadna 285
            'recruitment-ai' => [
511 ariadna 286
                'type' => Literal::class,
502 ariadna 287
                'options' => [
515 ariadna 288
                    'route' => '/recruitment-ai',
502 ariadna 289
                ],
290
                'may_terminate' => true,
291
                'child_routes' => [
292
                    'pre-aplications' => [
508 ariadna 293
                        'type' => Segment::class,
502 ariadna 294
                        'options' => [
295
                            'route' => '/pre-aplications/:id',
296
                            'constraints' => [
297
                                'id' => '[0-9]+',
298
                            ],
299
                            'defaults' => [
570 stevensc 300
                                'controller' => '\LeadersLinked\Controller\RecruitmentPreAplicationController',
301
                                'action' => 'index'
302
                            ]
502 ariadna 303
                        ],
304
                    ],
305
                    'job-description' => [
508 ariadna 306
                        'type' => Segment::class,
502 ariadna 307
                        'options' => [
308
                            'route' => '/job-description/:id',
309
                            'constraints' => [
310
                                'id' => '[0-9]+',
311
                            ],
312
                            'defaults' => [
570 stevensc 313
                                'controller' => '\LeadersLinked\Controller\RecruitmentCreateJobDescriptionController',
314
                                'action' => 'index'
315
                            ]
502 ariadna 316
                        ],
317
                    ],
510 ariadna 318
                ],
502 ariadna 319
            ],
1 efrain 320
            'language' => [
321
                'type' => Literal::class,
322
                'options' => [
323
                    'route' => '/language',
324
                    'defaults' => [
570 stevensc 325
                        'controller' => '\LeadersLinked\Controller\HomeController',
326
                        'action' => 'language'
327
                    ]
328
                ]
1 efrain 329
            ],
570 stevensc 330
 
302 www 331
            'habits' => [
332
                'type' => Literal::class,
333
                'options' => [
334
                    'route' => '/habits',
335
                    'defaults' => [
570 stevensc 336
                        'controller' => '\LeadersLinked\Controller\HabitController',
337
                        'action' => 'index'
338
                    ]
302 www 339
                ],
340
                'may_terminate' => true,
341
                'child_routes' => [
325 www 342
                    'aspect-daily-log' => [
343
                        'type' => Literal::class,
344
                        'options' => [
345
                            'route' => '/aspect-daily-log',
346
                            'defaults' => [
570 stevensc 347
                                'controller' => '\LeadersLinked\Controller\HabitController',
348
                                'action' => 'aspectDailyLog'
349
                            ]
325 www 350
                        ],
570 stevensc 351
                        'may_terminate' => true
345 www 352
                    ],
570 stevensc 353
 
302 www 354
                    'values' => [
355
                        'type' => Literal::class,
356
                        'options' => [
357
                            'route' => '/values',
358
                            'defaults' => [
570 stevensc 359
                                'controller' => '\LeadersLinked\Controller\HabitValueController',
360
                                'action' => 'index'
361
                            ]
302 www 362
                        ],
363
                        'may_terminate' => true,
364
                        'child_routes' => [
365
                            'add' => [
366
                                'type' => Literal::class,
367
                                'options' => [
368
                                    'route' => '/add',
369
                                    'defaults' => [
570 stevensc 370
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
371
                                        'action' => 'add'
372
                                    ]
373
                                ]
302 www 374
                            ],
375
                            'edit' => [
376
                                'type' => Segment::class,
377
                                'options' => [
378
                                    'route' => '/edit/:id',
379
                                    'constraints' => [
570 stevensc 380
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 381
                                    ],
382
                                    'defaults' => [
570 stevensc 383
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
384
                                        'action' => 'edit'
385
                                    ]
386
                                ]
302 www 387
                            ],
388
                            'delete' => [
389
                                'type' => Segment::class,
390
                                'options' => [
391
                                    'route' => '/delete/:id',
392
                                    'constraints' => [
570 stevensc 393
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 394
                                    ],
395
                                    'defaults' => [
570 stevensc 396
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
397
                                        'action' => 'delete'
398
                                    ]
399
                                ]
400
                            ]
401
                        ]
345 www 402
                    ],
570 stevensc 403
 
302 www 404
                    'paradigms' => [
405
                        'type' => Literal::class,
406
                        'options' => [
407
                            'route' => '/paradigms',
408
                            'defaults' => [
570 stevensc 409
                                'controller' => '\LeadersLinked\Controller\HabitParadigmController',
410
                                'action' => 'index'
411
                            ]
302 www 412
                        ],
413
                        'may_terminate' => true,
414
                        'child_routes' => [
415
                            'add' => [
416
                                'type' => Literal::class,
417
                                'options' => [
418
                                    'route' => '/add',
419
                                    'defaults' => [
570 stevensc 420
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
421
                                        'action' => 'add'
422
                                    ]
423
                                ]
302 www 424
                            ],
425
                            'edit' => [
426
                                'type' => Segment::class,
427
                                'options' => [
428
                                    'route' => '/edit/:id',
429
                                    'constraints' => [
570 stevensc 430
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 431
                                    ],
432
                                    'defaults' => [
570 stevensc 433
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
434
                                        'action' => 'edit'
435
                                    ]
436
                                ]
302 www 437
                            ],
438
                            'delete' => [
439
                                'type' => Segment::class,
440
                                'options' => [
441
                                    'route' => '/delete/:id',
442
                                    'constraints' => [
570 stevensc 443
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 444
                                    ],
445
                                    'defaults' => [
570 stevensc 446
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
447
                                        'action' => 'delete'
448
                                    ]
449
                                ]
450
                            ]
451
                        ]
345 www 452
                    ],
570 stevensc 453
 
302 www 454
                    'purposes' => [
455
                        'type' => Literal::class,
456
                        'options' => [
457
                            'route' => '/purposes',
458
                            'defaults' => [
570 stevensc 459
                                'controller' => '\LeadersLinked\Controller\HabitPurposeController',
460
                                'action' => 'index'
461
                            ]
302 www 462
                        ],
463
                        'may_terminate' => true,
464
                        'child_routes' => [
465
                            'add' => [
466
                                'type' => Literal::class,
467
                                'options' => [
468
                                    'route' => '/add',
469
                                    'defaults' => [
570 stevensc 470
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
471
                                        'action' => 'add'
472
                                    ]
473
                                ]
302 www 474
                            ],
475
                            'edit' => [
476
                                'type' => Segment::class,
477
                                'options' => [
478
                                    'route' => '/edit/:id',
479
                                    'constraints' => [
570 stevensc 480
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 481
                                    ],
482
                                    'defaults' => [
570 stevensc 483
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
484
                                        'action' => 'edit'
485
                                    ]
486
                                ]
302 www 487
                            ],
488
                            'delete' => [
489
                                'type' => Segment::class,
490
                                'options' => [
491
                                    'route' => '/delete/:id',
492
                                    'constraints' => [
570 stevensc 493
                                        'id' => '[A-Za-z0-9\-]+\=*'
302 www 494
                                    ],
495
                                    'defaults' => [
570 stevensc 496
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
497
                                        'action' => 'delete'
498
                                    ]
499
                                ]
500
                            ]
501
                        ]
345 www 502
                    ],
570 stevensc 503
 
304 www 504
                    'skills' => [
505
                        'type' => Literal::class,
506
                        'options' => [
507
                            'route' => '/skills',
508
                            'defaults' => [
570 stevensc 509
                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
510
                                'action' => 'index'
511
                            ]
304 www 512
                        ],
513
                        'may_terminate' => true,
514
                        'child_routes' => [
515
                            'add' => [
516
                                'type' => Literal::class,
517
                                'options' => [
518
                                    'route' => '/add',
519
                                    'defaults' => [
570 stevensc 520
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
521
                                        'action' => 'add'
522
                                    ]
523
                                ]
304 www 524
                            ],
525
                            'edit' => [
526
                                'type' => Segment::class,
527
                                'options' => [
528
                                    'route' => '/edit/:id',
529
                                    'constraints' => [
570 stevensc 530
                                        'id' => '[A-Za-z0-9\-]+\=*'
304 www 531
                                    ],
532
                                    'defaults' => [
570 stevensc 533
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
534
                                        'action' => 'edit'
535
                                    ]
536
                                ]
304 www 537
                            ],
538
                            'delete' => [
539
                                'type' => Segment::class,
540
                                'options' => [
541
                                    'route' => '/delete/:id',
542
                                    'constraints' => [
570 stevensc 543
                                        'id' => '[A-Za-z0-9\-]+\=*'
304 www 544
                                    ],
545
                                    'defaults' => [
570 stevensc 546
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
547
                                        'action' => 'delete'
548
                                    ]
549
                                ]
304 www 550
                            ],
312 www 551
                            'registers' => [
323 www 552
                                'type' => Segment::class,
312 www 553
                                'options' => [
323 www 554
                                    'route' => '/registers/:id',
312 www 555
                                    'defaults' => [
570 stevensc 556
                                        'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
557
                                        'action' => 'index'
558
                                    ]
312 www 559
                                ],
560
                                'may_terminate' => true,
561
                                'child_routes' => [
570 stevensc 562
 
312 www 563
                                    'add' => [
564
                                        'type' => Literal::class,
565
                                        'options' => [
566
                                            'route' => '/add',
567
                                            'defaults' => [
570 stevensc 568
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
569
                                                'action' => 'add'
570
                                            ]
571
                                        ]
312 www 572
                                    ],
573
                                    'edit' => [
574
                                        'type' => Segment::class,
575
                                        'options' => [
323 www 576
                                            'route' => '/edit/:register',
312 www 577
                                            'constraints' => [
570 stevensc 578
                                                'registerd' => '[A-Za-z0-9\-]+\=*'
312 www 579
                                            ],
580
                                            'defaults' => [
570 stevensc 581
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
582
                                                'action' => 'edit'
583
                                            ]
584
                                        ]
312 www 585
                                    ],
586
                                    'delete' => [
587
                                        'type' => Segment::class,
588
                                        'options' => [
323 www 589
                                            'route' => '/delete/:register',
312 www 590
                                            'constraints' => [
570 stevensc 591
                                                'register' => '[A-Za-z0-9\-]+\=*'
312 www 592
                                            ],
593
                                            'defaults' => [
570 stevensc 594
                                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
595
                                                'action' => 'delete'
596
                                            ]
597
                                        ]
598
                                    ]
599
                                ]
600
                            ]
601
                        ]
345 www 602
                    ],
570 stevensc 603
 
308 www 604
                    'goals' => [
605
                        'type' => Literal::class,
606
                        'options' => [
607
                            'route' => '/goals',
608
                            'defaults' => [
570 stevensc 609
                                'controller' => '\LeadersLinked\Controller\HabitGoalController',
610
                                'action' => 'index'
611
                            ]
308 www 612
                        ],
613
                        'may_terminate' => true,
614
                        'child_routes' => [
615
                            'add' => [
616
                                'type' => Literal::class,
617
                                'options' => [
618
                                    'route' => '/add',
619
                                    'defaults' => [
570 stevensc 620
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
621
                                        'action' => 'add'
622
                                    ]
623
                                ]
308 www 624
                            ],
625
                            'edit' => [
626
                                'type' => Segment::class,
627
                                'options' => [
628
                                    'route' => '/edit/:id',
629
                                    'constraints' => [
570 stevensc 630
                                        'id' => '[A-Za-z0-9\-]+\=*'
308 www 631
                                    ],
632
                                    'defaults' => [
570 stevensc 633
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
634
                                        'action' => 'edit'
635
                                    ]
636
                                ]
308 www 637
                            ],
638
                            'delete' => [
639
                                'type' => Segment::class,
640
                                'options' => [
641
                                    'route' => '/delete/:id',
642
                                    'constraints' => [
570 stevensc 643
                                        'id' => '[A-Za-z0-9\-]+\=*'
308 www 644
                                    ],
645
                                    'defaults' => [
570 stevensc 646
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
647
                                        'action' => 'delete'
648
                                    ]
649
                                ]
650
                            ]
651
                        ]
352 ariadna 652
                    ],
353 ariadna 653
                    'reports' => [
352 ariadna 654
                        'type' => Literal::class,
655
                        'options' => [
353 ariadna 656
                            'route' => '/reports',
352 ariadna 657
                            'defaults' => [
570 stevensc 658
                                'controller' => '\LeadersLinked\Controller\HabitReportController',
659
                                'action' => 'index'
660
                            ]
352 ariadna 661
                        ],
662
                        'may_terminate' => true,
570 stevensc 663
                        'child_routes' => []
352 ariadna 664
                    ],
570 stevensc 665
                ]
345 www 666
            ],
570 stevensc 667
 
1 efrain 668
            'post' => [
669
                'type' => Segment::class,
670
                'options' => [
671
                    'route' => '/post/:id',
672
                    'constraints' => [
570 stevensc 673
                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 674
                    ],
675
                    'defaults' => [
570 stevensc 676
                        'controller' => '\LeadersLinked\Controller\PostController',
677
                        'action' => 'view'
678
                    ]
1 efrain 679
                ],
680
                'may_terminate' => true,
681
                'child_routes' => [
242 efrain 682
                    'reactions' => [
683
                        'type' => Segment::class,
684
                        'options' => [
685
                            'route' => '/reactions',
686
                            'defaults' => [
570 stevensc 687
                                'controller' => '\LeadersLinked\Controller\PostController',
688
                                'action' => 'reactions'
689
                            ]
690
                        ]
242 efrain 691
                    ],
1 efrain 692
                    'comments' => [
693
                        'type' => Segment::class,
694
                        'options' => [
695
                            'route' => '/comments',
696
                            'defaults' => [
570 stevensc 697
                                'controller' => '\LeadersLinked\Controller\PostController',
698
                                'action' => 'comments'
699
                            ]
1 efrain 700
                        ],
701
                        'may_terminate' => true,
702
                        'child_routes' => [
703
                            'add' => [
704
                                'type' => Segment::class,
705
                                'options' => [
706
                                    'route' => '/add',
707
                                    'defaults' => [
570 stevensc 708
                                        'controller' => '\LeadersLinked\Controller\PostController',
709
                                        'action' => 'commentsAdd'
710
                                    ]
711
                                ]
1 efrain 712
                            ],
713
                            'delete' => [
714
                                'type' => Segment::class,
715
                                'options' => [
716
                                    'route' => '/delete/:comment',
717
                                    'constraints' => [
570 stevensc 718
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 719
                                    ],
720
                                    'defaults' => [
570 stevensc 721
                                        'controller' => '\LeadersLinked\Controller\PostController',
722
                                        'action' => 'commentsDelete'
723
                                    ]
724
                                ]
725
                            ]
726
                        ]
1 efrain 727
                    ],
728
                    'save-reaction' => [
729
                        'type' => Segment::class,
730
                        'options' => [
731
                            'route' => '/save-reaction',
732
                            'defaults' => [
570 stevensc 733
                                'controller' => '\LeadersLinked\Controller\PostController',
734
                                'action' => 'saveReaction'
735
                            ]
736
                        ]
1 efrain 737
                    ],
570 stevensc 738
 
1 efrain 739
                    'delete-reaction' => [
740
                        'type' => Segment::class,
741
                        'options' => [
742
                            'route' => '/delete-reaction',
743
                            'defaults' => [
570 stevensc 744
                                'controller' => '\LeadersLinked\Controller\PostController',
745
                                'action' => 'deleteReaction'
746
                            ]
747
                        ]
748
                    ]
749
                ]
1 efrain 750
            ],
751
            'privacy-policy' => [
752
                'type' => Literal::class,
753
                'options' => [
754
                    'route' => '/privacy-policy',
755
                    'defaults' => [
570 stevensc 756
                        'controller' => '\LeadersLinked\Controller\HomeController',
757
                        'action' => 'privacyPolicy'
758
                    ]
759
                ]
1 efrain 760
            ],
761
            'cookies' => [
762
                'type' => Literal::class,
763
                'options' => [
764
                    'route' => '/cookies',
765
                    'defaults' => [
570 stevensc 766
                        'controller' => '\LeadersLinked\Controller\HomeController',
767
                        'action' => 'cookies'
768
                    ]
769
                ]
1 efrain 770
            ],
771
            'professionalism-policy' => [
772
                'type' => Literal::class,
773
                'options' => [
774
                    'route' => '/professionalism-policy',
775
                    'defaults' => [
570 stevensc 776
                        'controller' => '\LeadersLinked\Controller\HomeController',
777
                        'action' => 'professionalismPolicy'
778
                    ]
779
                ]
1 efrain 780
            ],
781
            'terms-and-conditions' => [
782
                'type' => Literal::class,
783
                'options' => [
784
                    'route' => '/terms-and-conditions',
785
                    'defaults' => [
570 stevensc 786
                        'controller' => '\LeadersLinked\Controller\HomeController',
787
                        'action' => 'termsAndConditions'
788
                    ]
789
                ]
1 efrain 790
            ],
791
            'check-session' => [
792
                'type' => Literal::class,
793
                'options' => [
794
                    'route' => '/check-session',
795
                    'defaults' => [
570 stevensc 796
                        'controller' => '\LeadersLinked\Controller\HomeController',
797
                        'action' => 'checkSession'
798
                    ]
799
                ]
1 efrain 800
            ],
203 efrain 801
            'abuse-report' => [
802
                'type' => Literal::class,
803
                'options' => [
804
                    'route' => '/abuse-report',
805
                    'defaults' => [
570 stevensc 806
                        'controller' => '\LeadersLinked\Controller\AbuseReportController',
807
                        'action' => 'index'
808
                    ]
203 efrain 809
                ],
810
                'may_terminate' => true,
811
                'child_routes' => [
812
                    'view' => [
813
                        'type' => Segment::class,
814
                        'options' => [
815
                            'route' => '/view/:id',
816
                            'constraints' => [
570 stevensc 817
                                'id' => '[A-Za-z0-9\-]+\=*'
203 efrain 818
                            ],
819
                            'defaults' => [
570 stevensc 820
                                'controller' => '\LeadersLinked\Controller\AbuseReportController',
821
                                'action' => 'view'
822
                            ]
823
                        ]
824
                    ]
825
                ]
345 www 826
            ],
1 efrain 827
            'notifications' => [
828
                'type' => Literal::class,
829
                'options' => [
830
                    'route' => '/notifications',
831
                    'defaults' => [
570 stevensc 832
                        'controller' => '\LeadersLinked\Controller\NotificationController',
833
                        'action' => 'index'
834
                    ]
1 efrain 835
                ],
836
                'may_terminate' => true,
837
                'child_routes' => [
838
                    'mark-read' => [
839
                        'type' => Segment::class,
840
                        'options' => [
841
                            'route' => '/mark-read/:id',
842
                            'constraints' => [
570 stevensc 843
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 844
                            ],
845
                            'defaults' => [
570 stevensc 846
                                'controller' => '\LeadersLinked\Controller\NotificationController',
847
                                'action' => 'markRead'
848
                            ]
849
                        ]
1 efrain 850
                    ],
851
                    'mark-all-read' => [
852
                        'type' => Literal::class,
853
                        'options' => [
854
                            'route' => '/mark-all-read',
855
                            'defaults' => [
570 stevensc 856
                                'controller' => '\LeadersLinked\Controller\NotificationController',
857
                                'action' => 'markAllRead'
858
                            ]
859
                        ]
1 efrain 860
                    ],
861
                    'delete' => [
862
                        'type' => Segment::class,
863
                        'options' => [
864
                            'route' => '/delete/:id',
865
                            'constraints' => [
570 stevensc 866
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 867
                            ],
868
                            'defaults' => [
570 stevensc 869
                                'controller' => '\LeadersLinked\Controller\NotificationController',
870
                                'action' => 'delete'
871
                            ]
872
                        ]
1 efrain 873
                    ],
874
                    'clear' => [
875
                        'type' => Literal::class,
876
                        'options' => [
877
                            'route' => '/clear',
878
                            'defaults' => [
570 stevensc 879
                                'controller' => '\LeadersLinked\Controller\NotificationController',
880
                                'action' => 'clear'
881
                            ]
882
                        ]
1 efrain 883
                    ],
884
                    'unreads' => [
885
                        'type' => Literal::class,
886
                        'options' => [
887
                            'route' => '/unreads',
888
                            'defaults' => [
570 stevensc 889
                                'controller' => '\LeadersLinked\Controller\NotificationController',
890
                                'action' => 'unreads'
891
                            ]
892
                        ]
893
                    ]
894
                ]
1 efrain 895
            ],
896
            'impersonate' => [
897
                'type' => Literal::class,
898
                'options' => [
899
                    'route' => '/impersonate',
900
                    'defaults' => [
570 stevensc 901
                        'controller' => '\LeadersLinked\Controller\ImpersonateController',
902
                        'action' => 'index'
903
                    ]
1 efrain 904
                ],
905
                'may_terminate' => true,
906
                'child_routes' => [
907
                    'execute' => [
908
                        'type' => Segment::class,
909
                        'options' => [
910
                            'route' => '/execute/:id',
911
                            'constraints' => [
570 stevensc 912
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 913
                            ],
914
                            'defaults' => [
570 stevensc 915
                                'controller' => '\LeadersLinked\Controller\ImpersonateController',
916
                                'action' => 'execute'
917
                            ]
918
                        ]
919
                    ]
920
                ]
1 efrain 921
            ],
570 stevensc 922
 
1 efrain 923
            'my-coach' => [
924
                'type' => Literal::class,
925
                'options' => [
926
                    'route' => '/my-coach',
927
                    'defaults' => [
570 stevensc 928
                        'controller' => '\LeadersLinked\Controller\MyCoachController',
929
                        'action' => 'index'
930
                    ]
1 efrain 931
                ],
932
                'may_terminate' => true,
933
                'child_routes' => [
934
                    'questions' => [
935
                        'type' => Literal::class,
936
                        'options' => [
937
                            'route' => '/questions',
938
                            'defaults' => [
570 stevensc 939
                                'controller' => '\LeadersLinked\Controller\MyCoachController',
940
                                'action' => 'questions'
941
                            ]
1 efrain 942
                        ],
943
                        'may_terminate' => true,
944
                        'child_routes' => [
945
                            'add' => [
946
                                'type' => Literal::class,
947
                                'options' => [
948
                                    'route' => '/add',
949
                                    'defaults' => [
570 stevensc 950
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
951
                                        'action' => 'addQuestion'
952
                                    ]
953
                                ]
1 efrain 954
                            ],
242 efrain 955
                            'reactions' => [
956
                                'type' => Segment::class,
957
                                'options' => [
958
                                    'route' => '/reactions/:id',
959
                                    'constraints' => [
570 stevensc 960
                                        'id' => '[A-Za-z0-9\-]+\=*'
242 efrain 961
                                    ],
962
                                    'defaults' => [
570 stevensc 963
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
964
                                        'action' => 'reactions'
965
                                    ]
966
                                ]
242 efrain 967
                            ],
1 efrain 968
                            'view' => [
969
                                'type' => Segment::class,
970
                                'options' => [
971
                                    'route' => '/view/:id',
972
                                    'constraints' => [
570 stevensc 973
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 974
                                    ],
975
                                    'defaults' => [
570 stevensc 976
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
977
                                        'action' => 'viewQuestion'
978
                                    ]
979
                                ]
1 efrain 980
                            ],
981
                            'edit' => [
982
                                'type' => Segment::class,
983
                                'options' => [
984
                                    'route' => '/edit/:id',
985
                                    'constraints' => [
570 stevensc 986
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 987
                                    ],
988
                                    'defaults' => [
570 stevensc 989
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
990
                                        'action' => 'editQuestion'
991
                                    ]
992
                                ]
1 efrain 993
                            ],
994
                            'delete' => [
995
                                'type' => Segment::class,
996
                                'options' => [
997
                                    'route' => '/delete/:id',
998
                                    'constraints' => [
570 stevensc 999
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1000
                                    ],
1001
                                    'defaults' => [
570 stevensc 1002
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1003
                                        'action' => 'deleteQuestion'
1004
                                    ]
1005
                                ]
1 efrain 1006
                            ],
1007
                            'reaction' => [
1008
                                'type' => Segment::class,
1009
                                'options' => [
1010
                                    'route' => '/reaction/:id',
1011
                                    'constraints' => [
570 stevensc 1012
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1013
                                    ],
1014
                                    'defaults' => [
570 stevensc 1015
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1016
                                        'action' => 'reaction'
1017
                                    ]
1 efrain 1018
                                ],
1019
                                'may_terminate' => true,
1020
                                'child_routes' => [
1021
                                    'save' => [
1022
                                        'type' => Literal::class,
1023
                                        'options' => [
1024
                                            'route' => '/save',
1025
                                            'defaults' => [
570 stevensc 1026
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1027
                                                'action' => 'saveReaction'
1028
                                            ]
1029
                                        ]
1 efrain 1030
                                    ],
1031
                                    'delete' => [
345 www 1032
                                        'type' => Literal::class,
1 efrain 1033
                                        'options' => [
1034
                                            'route' => '/delete',
1035
                                            'defaults' => [
570 stevensc 1036
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1037
                                                'action' => 'deleteReaction'
1038
                                            ]
1039
                                        ]
1040
                                    ]
1041
                                ]
1 efrain 1042
                            ],
1043
                            'answers' => [
1044
                                'type' => Segment::class,
1045
                                'options' => [
1046
                                    'route' => '/answers/:id',
1047
                                    'constraints' => [
570 stevensc 1048
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1049
                                    ],
1050
                                    'defaults' => [
570 stevensc 1051
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1052
                                        'action' => 'answers'
1053
                                    ]
1 efrain 1054
                                ],
1055
                                'may_terminate' => true,
1056
                                'child_routes' => [
1057
                                    'add' => [
1058
                                        'type' => Literal::class,
1059
                                        'options' => [
1060
                                            'route' => '/add',
1061
                                            'defaults' => [
570 stevensc 1062
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1063
                                                'action' => 'addAnswer'
1064
                                            ]
1065
                                        ]
1 efrain 1066
                                    ],
570 stevensc 1067
 
1 efrain 1068
                                    'edit' => [
1069
                                        'type' => Segment::class,
1070
                                        'options' => [
1071
                                            'route' => '/edit/:answer',
1072
                                            'constraints' => [
570 stevensc 1073
                                                'answer' => '[A-Za-z0-9\-]+\=*'
1 efrain 1074
                                            ],
1075
                                            'defaults' => [
570 stevensc 1076
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1077
                                                'action' => 'editAnswer'
1078
                                            ]
1079
                                        ]
1 efrain 1080
                                    ],
1081
                                    'delete' => [
1082
                                        'type' => Segment::class,
1083
                                        'options' => [
1084
                                            'route' => '/delete/:answer',
1085
                                            'constraints' => [
570 stevensc 1086
                                                'answer' => '[A-Za-z0-9\-]+\=*'
1 efrain 1087
                                            ],
1088
                                            'defaults' => [
570 stevensc 1089
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1090
                                                'action' => 'deleteAnswer'
1091
                                            ]
1092
                                        ]
1093
                                    ]
1094
                                ]
1 efrain 1095
                            ],
570 stevensc 1096
 
1 efrain 1097
                            'comments' => [
1098
                                'type' => Segment::class,
1099
                                'options' => [
1100
                                    'route' => '/comments/:id',
1101
                                    'constraints' => [
570 stevensc 1102
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1103
                                    ],
1104
                                    'defaults' => [
570 stevensc 1105
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1106
                                        'action' => 'comments'
1107
                                    ]
1 efrain 1108
                                ],
1109
                                'may_terminate' => true,
1110
                                'child_routes' => [
1111
                                    'add' => [
1112
                                        'type' => Literal::class,
1113
                                        'options' => [
1114
                                            'route' => '/add',
1115
                                            'defaults' => [
570 stevensc 1116
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
1117
                                                'action' => 'addComment'
1118
                                            ]
1119
                                        ]
1 efrain 1120
                                    ],
1121
                                    'delete' => [
1122
                                        'type' => Segment::class,
1123
                                        'options' => [
1124
                                            'route' => '/delete/:comment',
1125
                                            'constraints' => [
570 stevensc 1126
                                                'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 1127
                                            ],
1128
                                            'defaults' => [
570 stevensc 1129
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
1130
                                                'action' => 'deleteComment'
1131
                                            ]
1132
                                        ]
1133
                                    ]
1134
                                ]
1135
                            ]
1136
                        ]
1137
                    ]
1138
                ]
1 efrain 1139
            ],
570 stevensc 1140
 
1 efrain 1141
            'knowledge-area' => [
1142
                'type' => Literal::class,
1143
                'options' => [
1144
                    'route' => '/knowledge-area',
1145
                    'defaults' => [
570 stevensc 1146
                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1147
                        'action' => 'index'
1148
                    ]
1 efrain 1149
                ],
1150
                'may_terminate' => true,
1151
                'child_routes' => [
1152
                    'add' => [
1153
                        'type' => Literal::class,
1154
                        'options' => [
1155
                            'route' => '/add',
1156
                            'defaults' => [
570 stevensc 1157
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1158
                                'action' => 'add'
1159
                            ]
1160
                        ]
1 efrain 1161
                    ],
1162
                    'edit' => [
1163
                        'type' => Segment::class,
1164
                        'options' => [
1165
                            'route' => '/edit/:id',
1166
                            'constraints' => [
570 stevensc 1167
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1168
                            ],
1169
                            'defaults' => [
570 stevensc 1170
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1171
                                'action' => 'edit'
1172
                            ]
1173
                        ]
1 efrain 1174
                    ],
1175
                    'delete' => [
1176
                        'type' => Segment::class,
1177
                        'options' => [
1178
                            'route' => '/delete/:id',
1179
                            'constraints' => [
570 stevensc 1180
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1181
                            ],
1182
                            'defaults' => [
570 stevensc 1183
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1184
                                'action' => 'delete'
1185
                            ]
1186
                        ]
1 efrain 1187
                    ],
1188
                    'view' => [
1189
                        'type' => Segment::class,
1190
                        'options' => [
1191
                            'route' => '/view/:id',
1192
                            'constraints' => [
570 stevensc 1193
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1194
                            ],
1195
                            'defaults' => [
570 stevensc 1196
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1197
                                'action' => 'view'
1198
                            ]
1199
                        ]
1 efrain 1200
                    ],
242 efrain 1201
                    'reactions' => [
1202
                        'type' => Segment::class,
1203
                        'options' => [
1204
                            'route' => '/reactions/:id',
1205
                            'constraints' => [
570 stevensc 1206
                                'id' => '[A-Za-z0-9\-]+\=*'
242 efrain 1207
                            ],
1208
                            'defaults' => [
570 stevensc 1209
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1210
                                'action' => 'reactions'
1211
                            ]
1212
                        ]
242 efrain 1213
                    ],
1 efrain 1214
                    'comments' => [
1215
                        'type' => Segment::class,
1216
                        'options' => [
1217
                            'route' => '/comments/:id',
1218
                            'constraints' => [
570 stevensc 1219
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1220
                            ],
1221
                            'defaults' => [
570 stevensc 1222
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1223
                                'action' => 'comments'
1224
                            ]
1 efrain 1225
                        ],
1226
                        'may_terminate' => true,
1227
                        'child_routes' => [
1228
                            'add' => [
1229
                                'type' => Literal::class,
1230
                                'options' => [
1231
                                    'route' => '/add',
1232
                                    'defaults' => [
570 stevensc 1233
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1234
                                        'action' => 'addComment'
1235
                                    ]
1236
                                ]
1 efrain 1237
                            ],
1238
                            'delete' => [
1239
                                'type' => Segment::class,
1240
                                'options' => [
1241
                                    'route' => '/delete/:comment',
1242
                                    'constraints' => [
570 stevensc 1243
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 1244
                                    ],
1245
                                    'defaults' => [
570 stevensc 1246
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1247
                                        'action' => 'deleteComment'
1248
                                    ]
1249
                                ]
1250
                            ]
1251
                        ]
1 efrain 1252
                    ],
1253
                    'save-reaction' => [
1254
                        'type' => Segment::class,
1255
                        'options' => [
1256
                            'route' => '/save-reaction/:id',
1257
                            'constraints' => [
570 stevensc 1258
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1259
                            ],
1260
                            'defaults' => [
570 stevensc 1261
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1262
                                'action' => 'saveReaction'
1263
                            ]
1264
                        ]
1 efrain 1265
                    ],
1266
                    'delete-reaction' => [
1267
                        'type' => Segment::class,
1268
                        'options' => [
1269
                            'route' => '/delete-reaction/:id',
1270
                            'constraints' => [
570 stevensc 1271
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1272
                            ],
1273
                            'defaults' => [
570 stevensc 1274
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1275
                                'action' => 'deleteReaction'
1276
                            ]
1277
                        ]
1278
                    ]
1279
                ]
345 www 1280
            ],
570 stevensc 1281
 
1 efrain 1282
            'backend' => [
1283
                'type' => Literal::class,
1284
                'options' => [
1285
                    'route' => '/backend',
1286
                    'defaults' => [
570 stevensc 1287
                        'controller' => '\LeadersLinked\Controller\BackendController',
1288
                        'action' => 'index'
1289
                    ]
1 efrain 1290
                ],
1291
                'may_terminate' => true,
1292
                'child_routes' => [
1293
                    'signin-admin' => [
1294
                        'type' => Literal::class,
1295
                        'options' => [
1296
                            'route' => '/signin-admin',
1297
                            'defaults' => [
570 stevensc 1298
                                'controller' => '\LeadersLinked\Controller\BackendController',
1299
                                'action' => 'signinAdmin'
1300
                            ]
1301
                        ]
1 efrain 1302
                    ],
1303
                    'signin-company' => [
1304
                        'type' => Segment::class,
1305
                        'options' => [
1306
                            'route' => '/signin-company/:id[/relational/:relational/type/:type]',
1307
                            'constraints' => [
570 stevensc 1308
                                'id' => '[A-Za-z0-9\-]+\=*',
1309
                                'relational' => '[A-Za-z0-9\-]+\=*',
1310
                                'type' => '[A-Za-z0-9\-]+\=*'
1 efrain 1311
                            ],
1312
                            'defaults' => [
570 stevensc 1313
                                'controller' => '\LeadersLinked\Controller\BackendController',
1314
                                'action' => 'signinCompany'
1315
                            ]
1316
                        ]
1317
                    ]
1318
                ]
1 efrain 1319
            ],
1320
            'dashboard' => [
1321
                'type' => Segment::class,
1322
                'options' => [
255 efrain 1323
                    'route' => '/dashboard[/feed/:feed][/post/:post]',
1 efrain 1324
                    'constraints' => [
570 stevensc 1325
                        'feed' => '[A-Za-z0-9\-]+\=*',
1326
                        'post' => '[A-Za-z0-9\-]+\=*'
1 efrain 1327
                    ],
1328
                    'defaults' => [
570 stevensc 1329
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1330
                        'action' => 'index'
1331
                    ]
1332
                ]
1 efrain 1333
            ],
570 stevensc 1334
 
1 efrain 1335
            'paypal' => [
1336
                'type' => Literal::class,
1337
                'options' => [
1338
                    'route' => '/paypal',
1339
                    'defaults' => [
570 stevensc 1340
                        'controller' => '\LeadersLinked\Controller\PaypalController',
1341
                        'action' => 'index'
1342
                    ]
1 efrain 1343
                ],
1344
                'may_terminate' => true,
1345
                'child_routes' => [
1346
                    'success' => [
1347
                        'type' => Literal::class,
1348
                        'options' => [
1349
                            'route' => '/success',
1350
                            'defaults' => [
570 stevensc 1351
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1352
                                'action' => 'success'
1353
                            ]
1354
                        ]
1 efrain 1355
                    ],
1356
                    'cancel' => [
1357
                        'type' => Literal::class,
1358
                        'options' => [
1359
                            'route' => '/cancel',
1360
                            'defaults' => [
570 stevensc 1361
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1362
                                'action' => 'cancel'
1363
                            ]
1364
                        ]
1365
                    ]
1366
                ]
1 efrain 1367
            ],
1368
            'chat' => [
1369
                'type' => Literal::class,
1370
                'options' => [
1371
                    'route' => '/chat',
1372
                    'defaults' => [
570 stevensc 1373
                        'controller' => '\LeadersLinked\Controller\ChatController',
1374
                        'action' => 'index'
1375
                    ]
1 efrain 1376
                ],
1377
                'may_terminate' => true,
1378
                'child_routes' => [
570 stevensc 1379
                    // Inicio de los Routes del Chat //
1380
 
1 efrain 1381
                    'users' => [
1382
                        'type' => Literal::class,
1383
                        'options' => [
1384
                            'route' => '/users',
1385
                            'defaults' => [
570 stevensc 1386
                                'controller' => '\LeadersLinked\Controller\ChatController',
1387
                                'action' => 'users'
1388
                            ]
1389
                        ]
1 efrain 1390
                    ],
570 stevensc 1391
 
1 efrain 1392
                    'heart-beat' => [
1393
                        'type' => Literal::class,
1394
                        'options' => [
1395
                            'route' => '/heart-beat',
1396
                            'defaults' => [
570 stevensc 1397
                                'controller' => '\LeadersLinked\Controller\ChatController',
1398
                                'action' => 'heartBeat'
1399
                            ]
1400
                        ]
1 efrain 1401
                    ],
1402
                    'create-group' => [
1403
                        'type' => Literal::class,
1404
                        'options' => [
1405
                            'route' => '/create-group',
1406
                            'defaults' => [
570 stevensc 1407
                                'controller' => '\LeadersLinked\Controller\ChatController',
1408
                                'action' => 'createGroup'
1409
                            ]
1410
                        ]
1 efrain 1411
                    ],
1412
                    'zoom' => [
1413
                        'type' => Segment::class,
1414
                        'options' => [
1415
                            'route' => '/zoom/:id',
1416
                            'constraints' => [
570 stevensc 1417
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1418
                            ],
1419
                            'defaults' => [
570 stevensc 1420
                                'controller' => '\LeadersLinked\Controller\ChatController',
1421
                                'action' => 'zoom'
1422
                            ]
1423
                        ]
1 efrain 1424
                    ],
1425
                    'open-or-create' => [
1426
                        'type' => Segment::class,
1427
                        'options' => [
1428
                            'route' => '/open-or-create/:id',
1429
                            'constraints' => [
570 stevensc 1430
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1431
                            ],
1432
                            'defaults' => [
570 stevensc 1433
                                'controller' => '\LeadersLinked\Controller\ChatController',
1434
                                'action' => 'openOrCreate'
1435
                            ]
1436
                        ]
1 efrain 1437
                    ],
1438
                    'add-user-to-group' => [
1439
                        'type' => Segment::class,
1440
                        'options' => [
1441
                            'route' => '/add-user-to-group/:group_id',
1442
                            'constraints' => [
570 stevensc 1443
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1444
                            ],
1445
                            'defaults' => [
570 stevensc 1446
                                'controller' => '\LeadersLinked\Controller\ChatController',
1447
                                'action' => 'addUserToGroup'
1448
                            ]
1449
                        ]
1 efrain 1450
                    ],
1451
                    'mark-seen' => [
1452
                        'type' => Segment::class,
1453
                        'options' => [
1454
                            'route' => '/mark-seen/:id',
1455
                            'constraints' => [
570 stevensc 1456
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1457
                            ],
1458
                            'defaults' => [
570 stevensc 1459
                                'controller' => '\LeadersLinked\Controller\ChatController',
1460
                                'action' => 'markSeen'
1461
                            ]
1462
                        ]
1 efrain 1463
                    ],
1464
                    'mark-received' => [
1465
                        'type' => Segment::class,
1466
                        'options' => [
1467
                            'route' => '/mark-received/:id',
1468
                            'constraints' => [
570 stevensc 1469
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1470
                            ],
1471
                            'defaults' => [
570 stevensc 1472
                                'controller' => '\LeadersLinked\Controller\ChatController',
1473
                                'action' => 'markReceived'
1474
                            ]
1475
                        ]
1 efrain 1476
                    ],
1477
                    'remove-user-from-group' => [
1478
                        'type' => Segment::class,
1479
                        'options' => [
1480
                            'route' => '/remove-user-from-group/:group_id/:user_id',
1481
                            'constraints' => [
570 stevensc 1482
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1483
                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1484
                            ],
1485
                            'defaults' => [
570 stevensc 1486
                                'controller' => '\LeadersLinked\Controller\ChatController',
1487
                                'action' => 'removeUserFromGroup'
1488
                            ]
1489
                        ]
1 efrain 1490
                    ],
1491
                    'get-all-messages' => [
1492
                        'type' => Segment::class,
1493
                        'options' => [
1494
                            'route' => '/get-all-messages/:id',
1495
                            'constraints' => [
570 stevensc 1496
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1497
                            ],
1498
                            'defaults' => [
570 stevensc 1499
                                'controller' => '\LeadersLinked\Controller\ChatController',
1500
                                'action' => 'getAllMessages'
1501
                            ]
1502
                        ]
1 efrain 1503
                    ],
1504
                    'send' => [
1505
                        'type' => Segment::class,
1506
                        'options' => [
1507
                            'route' => '/send/:id',
1508
                            'constraints' => [
570 stevensc 1509
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1510
                            ],
1511
                            'defaults' => [
570 stevensc 1512
                                'controller' => '\LeadersLinked\Controller\ChatController',
1513
                                'action' => 'send'
1514
                            ]
1515
                        ]
1 efrain 1516
                    ],
1517
                    'get-contacts-availables-for-group' => [
1518
                        'type' => Segment::class,
1519
                        'options' => [
1520
                            'route' => '/get-contacts-availables-for-group/:group_id',
1521
                            'constraints' => [
570 stevensc 1522
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1523
                            ],
1524
                            'defaults' => [
570 stevensc 1525
                                'controller' => '\LeadersLinked\Controller\ChatController',
1526
                                'action' => 'contactAvailableGroupList'
1527
                            ]
1528
                        ]
1 efrain 1529
                    ],
1530
                    'get-contact-group-list' => [
1531
                        'type' => Segment::class,
1532
                        'options' => [
1533
                            'route' => '/get-contact-group-list/:group_id',
1534
                            'constraints' => [
570 stevensc 1535
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1536
                            ],
1537
                            'defaults' => [
570 stevensc 1538
                                'controller' => '\LeadersLinked\Controller\ChatController',
1539
                                'action' => 'contactGroupList'
1540
                            ]
1541
                        ]
1 efrain 1542
                    ],
1543
                    'leave-group' => [
1544
                        'type' => Segment::class,
1545
                        'options' => [
1546
                            'route' => '/leave-group/:group_id',
1547
                            'constraints' => [
570 stevensc 1548
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1549
                            ],
1550
                            'defaults' => [
570 stevensc 1551
                                'controller' => '\LeadersLinked\Controller\ChatController',
1552
                                'action' => 'leaveGroup'
1553
                            ]
1554
                        ]
1 efrain 1555
                    ],
1556
                    'delete-group' => [
1557
                        'type' => Segment::class,
1558
                        'options' => [
1559
                            'route' => '/delete-group/:group_id',
1560
                            'constraints' => [
570 stevensc 1561
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1562
                            ],
1563
                            'defaults' => [
570 stevensc 1564
                                'controller' => '\LeadersLinked\Controller\ChatController',
1565
                                'action' => 'deleteGroup'
1566
                            ]
1567
                        ]
1 efrain 1568
                    ],
1569
                    'open' => [
1570
                        'type' => Segment::class,
1571
                        'options' => [
1572
                            'route' => '/open/:id',
1573
                            'constraints' => [
570 stevensc 1574
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1575
                            ],
1576
                            'defaults' => [
570 stevensc 1577
                                'controller' => '\LeadersLinked\Controller\ChatController',
1578
                                'action' => 'open'
1579
                            ]
1580
                        ]
1 efrain 1581
                    ],
1582
                    'close' => [
1583
                        'type' => Segment::class,
1584
                        'options' => [
1585
                            'route' => '/close/:id',
1586
                            'constraints' => [
570 stevensc 1587
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1588
                            ],
1589
                            'defaults' => [
570 stevensc 1590
                                'controller' => '\LeadersLinked\Controller\ChatController',
1591
                                'action' => 'close'
1592
                            ]
1593
                        ]
1 efrain 1594
                    ],
1595
                    'clear' => [
1596
                        'type' => Segment::class,
1597
                        'options' => [
1598
                            'route' => '/clear/:id',
1599
                            'constraints' => [
570 stevensc 1600
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1601
                            ],
1602
                            'defaults' => [
570 stevensc 1603
                                'controller' => '\LeadersLinked\Controller\ChatController',
1604
                                'action' => 'clear'
1605
                            ]
1606
                        ]
1 efrain 1607
                    ],
1608
                    'upload' => [
1609
                        'type' => Segment::class,
1610
                        'options' => [
1611
                            'route' => '/upload/:id',
1612
                            'constraints' => [
570 stevensc 1613
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1614
                            ],
1615
                            'defaults' => [
570 stevensc 1616
                                'controller' => '\LeadersLinked\Controller\ChatController',
1617
                                'action' => 'upload'
1618
                            ]
1619
                        ]
1620
                    ]
1621
                ]
1 efrain 1622
            ],
1623
            'calendar' => [
1624
                'type' => Literal::class,
1625
                'options' => [
1626
                    'route' => '/calendar',
1627
                    'defaults' => [
570 stevensc 1628
                        'controller' => '\LeadersLinked\Controller\CalendarController',
1629
                        'action' => 'index'
1630
                    ]
1 efrain 1631
                ],
1632
                'may_terminate' => true,
1633
                'child_routes' => [
1634
                    'events' => [
1635
                        'type' => Segment::class,
1636
                        'options' => [
1637
                            'route' => '/events',
1638
                            /*'constraints' => [
570 stevensc 1639
                                'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 1640
                            ],*/
1641
                            'defaults' => [
570 stevensc 1642
                                'controller' => '\LeadersLinked\Controller\CalendarController',
1643
                                'action' => 'events'
1644
                            ]
1645
                        ]
1646
                    ]
1647
                ]
1 efrain 1648
            ],
570 stevensc 1649
 
1 efrain 1650
            /*
1651
            'zoom' => [
1652
                'type' => Literal::class,
1653
                'options' => [
1654
                    'route' => '/zoom',
1655
                    'defaults' => [
570 stevensc 1656
                        'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1657
                        'action' => 'index'
1658
                    ]
1659
                ],
1660
                'may_terminate' => true,
1661
                'child_routes' => [
1662
                    'add' => [
1663
                        'type' => Literal::class,
1664
                        'options' => [
1665
                            'route' => '/add',
1666
                            'defaults' => [
570 stevensc 1667
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1668
                                'action' => 'add'
1669
                            ]
1670
                        ]
1671
                    ],
1672
                    'delete' => [
1673
                        'type' => Segment::class,
1674
                        'options' => [
1675
                            'route' => '/delete/:id',
1676
                            'constraints' => [
570 stevensc 1677
                                'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 1678
                            ],
1679
                            'defaults' => [
570 stevensc 1680
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1681
                                'action' => 'delete'
1682
                            ]
1683
                        ]
1684
                    ],
1685
                    'listing' => [
1686
                        'type' => Literal::class,
1687
                        'options' => [
1688
                            'route' => '/listing',
1689
                            'defaults' => [
570 stevensc 1690
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1691
                                'action' => 'listing'
1692
                            ]
1693
                        ]
1694
                    ],
570 stevensc 1695
                ]
1 efrain 1696
            ],*/
570 stevensc 1697
 
1 efrain 1698
            'inmail' => [
681 stevensc 1699
                'type' => Segment::class,
1 efrain 1700
                'options' => [
696 stevensc 1701
                    'route' => '/inmail',
1 efrain 1702
                    'defaults' => [
570 stevensc 1703
                        'controller' => '\LeadersLinked\Controller\InMailController',
696 stevensc 1704
                        'action' => 'index'
570 stevensc 1705
                    ]
1 efrain 1706
                ],
1707
                'may_terminate' => true,
1708
                'child_routes' => [
675 stevensc 1709
                    'messages' => [
679 stevensc 1710
                        'type' => Segment::class,
1 efrain 1711
                        'options' => [
700 stevensc 1712
                            'route' => '/messages/:uuid', // Route example: /inmail/messages/123e4567-e89b-12d3-a456-426614174000
679 stevensc 1713
                            'constraints' => [
698 stevensc 1714
                                'uuid' => '[A-Za-z0-9\-]+\=*'
679 stevensc 1715
                            ],
1 efrain 1716
                            'defaults' => [
570 stevensc 1717
                                'controller' => '\LeadersLinked\Controller\InMailController',
696 stevensc 1718
                                'action' => 'getMessages'
570 stevensc 1719
                            ]
1 efrain 1720
                        ],
699 stevensc 1721
                        'may_terminate' => true,
1722
                        'child_routes' => [
1723
                            'send' => [
706 stevensc 1724
                                'type' => Literal::class,
699 stevensc 1725
                                'options' => [
706 stevensc 1726
                                    'route' => '/send',
699 stevensc 1727
                                    'defaults' => [
1728
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1729
                                        'action' => 'sendMessage'
1730
                                    ]
1731
                                ]
1732
                            ],
1733
                            'delete' => [
706 stevensc 1734
                                'type' => Literal::class,
699 stevensc 1735
                                'options' => [
706 stevensc 1736
                                    'route' => '/delete',
699 stevensc 1737
                                    'defaults' => [
1738
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1739
                                        'action' => 'deleteMessage'
1740
                                    ]
1741
                                ]
1742
                            ]
1743
                        ]
570 stevensc 1744
                    ]
1745
                ]
1 efrain 1746
            ],
1747
            'connection' => [
1748
                'type' => Literal::class,
1749
                'options' => [
1750
                    'route' => '/connection',
1751
                    'defaults' => [
570 stevensc 1752
                        'controller' => '\LeadersLinked\Controller\ConnectionController',
1753
                        'action' => 'index'
1754
                    ]
1 efrain 1755
                ],
1756
                'may_terminate' => true,
1757
                'child_routes' => [
1758
                    'my-connections' => [
1759
                        'type' => Literal::class,
1760
                        'options' => [
1761
                            'route' => '/my-connections',
1762
                            'defaults' => [
570 stevensc 1763
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1764
                                'action' => 'myConnections'
1765
                            ]
1766
                        ]
1 efrain 1767
                    ],
1768
                    'people-you-may-know' => [
1769
                        'type' => Literal::class,
1770
                        'options' => [
1771
                            'route' => '/people-you-may-know',
1772
                            'defaults' => [
570 stevensc 1773
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1774
                                'action' => 'peopleYouMayKnow'
1775
                            ]
1776
                        ]
1 efrain 1777
                    ],
1778
                    'people-blocked' => [
1779
                        'type' => Literal::class,
1780
                        'options' => [
1781
                            'route' => '/people-blocked',
1782
                            'defaults' => [
570 stevensc 1783
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1784
                                'action' => 'peopleBlocked'
1785
                            ]
1786
                        ]
1 efrain 1787
                    ],
1788
                    'invitations-sent' => [
1789
                        'type' => Literal::class,
1790
                        'options' => [
1791
                            'route' => '/invitations-sent',
1792
                            'defaults' => [
570 stevensc 1793
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1794
                                'action' => 'invitationsSent'
1795
                            ]
1796
                        ]
1 efrain 1797
                    ],
1798
                    'invitations-received' => [
1799
                        'type' => Literal::class,
1800
                        'options' => [
1801
                            'route' => '/invitations-received',
1802
                            'defaults' => [
570 stevensc 1803
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1804
                                'action' => 'invitationsReceived'
1805
                            ]
1806
                        ]
1 efrain 1807
                    ],
1808
                    'block' => [
1809
                        'type' => Segment::class,
1810
                        'options' => [
1811
                            'route' => '/block/:id',
1812
                            'constraints' => [
570 stevensc 1813
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1814
                            ],
1815
                            'defaults' => [
570 stevensc 1816
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1817
                                'action' => 'block'
1818
                            ]
1819
                        ]
1 efrain 1820
                    ],
1821
                    'unblock' => [
1822
                        'type' => Segment::class,
1823
                        'options' => [
1824
                            'route' => '/unblock/:id',
1825
                            'constraints' => [
570 stevensc 1826
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1827
                            ],
1828
                            'defaults' => [
570 stevensc 1829
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1830
                                'action' => 'unblock'
1831
                            ]
1832
                        ]
1 efrain 1833
                    ],
1834
                    'cancel' => [
1835
                        'type' => Segment::class,
1836
                        'options' => [
1837
                            'route' => '/cancel/:id',
1838
                            'constraints' => [
570 stevensc 1839
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1840
                            ],
1841
                            'defaults' => [
570 stevensc 1842
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1843
                                'action' => 'cancel'
1844
                            ]
1845
                        ]
1 efrain 1846
                    ],
1847
                    'request' => [
1848
                        'type' => Segment::class,
1849
                        'options' => [
1850
                            'route' => '/request/:id',
1851
                            'constraints' => [
570 stevensc 1852
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1853
                            ],
1854
                            'defaults' => [
570 stevensc 1855
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1856
                                'action' => 'request'
1857
                            ]
1858
                        ]
1 efrain 1859
                    ],
1860
                    'approve' => [
1861
                        'type' => Segment::class,
1862
                        'options' => [
1863
                            'route' => '/approve/:id',
1864
                            'constraints' => [
570 stevensc 1865
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1866
                            ],
1867
                            'defaults' => [
570 stevensc 1868
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1869
                                'action' => 'approve'
1870
                            ]
1871
                        ]
1 efrain 1872
                    ],
1873
                    'reject' => [
1874
                        'type' => Segment::class,
1875
                        'options' => [
1876
                            'route' => '/reject/:id',
1877
                            'constraints' => [
570 stevensc 1878
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1879
                            ],
1880
                            'defaults' => [
570 stevensc 1881
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1882
                                'action' => 'reject'
1883
                            ]
1884
                        ]
1 efrain 1885
                    ],
1886
                    'delete' => [
1887
                        'type' => Segment::class,
1888
                        'options' => [
1889
                            'route' => '/delete/:id',
1890
                            'constraints' => [
570 stevensc 1891
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1892
                            ],
1893
                            'defaults' => [
570 stevensc 1894
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1895
                                'action' => 'delete'
1896
                            ]
1897
                        ]
1898
                    ]
1899
                ]
1 efrain 1900
            ],
1901
            'feed' => [
1902
                'type' => Literal::class,
1903
                'options' => [
1904
                    'route' => '/feed',
1905
                    'defaults' => [
570 stevensc 1906
                        'controller' => '\LeadersLinked\Controller\FeedController',
1907
                        'action' => 'index'
1908
                    ]
1 efrain 1909
                ],
1910
                'may_terminate' => true,
1911
                'child_routes' => [
1912
                    'timeline' => [
1913
                        'type' => Segment::class,
1914
                        'options' => [
1915
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1916
                            'constraints' => [
570 stevensc 1917
                                'id' => '[A-Za-z0-9\-]+\=*',
1918
                                'type' => 'user|company|group'
1 efrain 1919
                            ],
1920
                            'defaults' => [
570 stevensc 1921
                                'controller' => '\LeadersLinked\Controller\FeedController',
1922
                                'action' => 'timeline'
1923
                            ]
1924
                        ]
1 efrain 1925
                    ],
1926
                    'delete' => [
1927
                        'type' => Segment::class,
1928
                        'options' => [
1929
                            'route' => '/delete/:id',
1930
                            'constraints' => [
570 stevensc 1931
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1932
                            ],
1933
                            'defaults' => [
570 stevensc 1934
                                'controller' => '\LeadersLinked\Controller\FeedController',
1935
                                'action' => 'delete'
1936
                            ]
1937
                        ]
1 efrain 1938
                    ],
232 efrain 1939
                    'reactions' => [
1940
                        'type' => Segment::class,
1941
                        'options' => [
1942
                            'route' => '/reactions/:id',
1943
                            'constraints' => [
570 stevensc 1944
                                'id' => '[A-Za-z0-9\-]+\=*'
232 efrain 1945
                            ],
1946
                            'defaults' => [
570 stevensc 1947
                                'controller' => '\LeadersLinked\Controller\FeedController',
1948
                                'action' => 'reactions'
1949
                            ]
1950
                        ]
232 efrain 1951
                    ],
1 efrain 1952
                    'comment' => [
1953
                        'type' => Segment::class,
1954
                        'options' => [
1955
                            'route' => '/comment/:id',
1956
                            'constraints' => [
570 stevensc 1957
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1958
                            ],
1959
                            'defaults' => [
570 stevensc 1960
                                'controller' => '\LeadersLinked\Controller\FeedController',
1961
                                'action' => 'comment'
1962
                            ]
1 efrain 1963
                        ],
1964
                        'may_terminate' => true,
1965
                        'child_routes' => [
1966
                            'delete' => [
1967
                                'type' => Segment::class,
1968
                                'options' => [
1969
                                    'route' => '/delete/:comment',
1970
                                    'constraints' => [
570 stevensc 1971
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 1972
                                    ],
1973
                                    'defaults' => [
570 stevensc 1974
                                        'controller' => '\LeadersLinked\Controller\FeedController',
1975
                                        'action' => 'commentDelete'
1976
                                    ]
1977
                                ]
1978
                            ]
1979
                        ]
1 efrain 1980
                    ],
1981
                    'share' => [
1982
                        'type' => Segment::class,
1983
                        'options' => [
1984
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
1985
                            'constraints' => [
570 stevensc 1986
                                'id' => '[A-Za-z0-9\-]+\=*',
1987
                                'company_id' => '[A-Za-z0-9\-]+\=*',
1988
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1989
                                'encoding' => 'base64'
1 efrain 1990
                            ],
1991
                            'defaults' => [
570 stevensc 1992
                                'controller' => '\LeadersLinked\Controller\FeedController',
1993
                                'action' => 'share'
1994
                            ]
1995
                        ]
1 efrain 1996
                    ],
1997
                    'save-reaction' => [
1998
                        'type' => Segment::class,
1999
                        'options' => [
2000
                            'route' => '/save-reaction/:id',
2001
                            'constraints' => [
570 stevensc 2002
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2003
                            ],
2004
                            'defaults' => [
570 stevensc 2005
                                'controller' => '\LeadersLinked\Controller\FeedController',
2006
                                'action' => 'saveReaction'
2007
                            ]
2008
                        ]
1 efrain 2009
                    ],
570 stevensc 2010
 
1 efrain 2011
                    'delete-reaction' => [
2012
                        'type' => Segment::class,
2013
                        'options' => [
2014
                            'route' => '/delete-reaction/:id',
2015
                            'constraints' => [
570 stevensc 2016
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2017
                            ],
2018
                            'defaults' => [
570 stevensc 2019
                                'controller' => '\LeadersLinked\Controller\FeedController',
2020
                                'action' => 'deleteReaction'
2021
                            ]
2022
                        ]
1 efrain 2023
                    ],
2024
                    'add' => [
2025
                        'type' => Segment::class,
2026
                        'options' => [
2027
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
2028
                            'constraints' => [
570 stevensc 2029
                                'company_id' => '[A-Za-z0-9\-]+\=*',
2030
                                'group_id' => '[A-Za-z0-9\-]+\=*',
2031
                                'encoding' => 'base64'
1 efrain 2032
                            ],
2033
                            'defaults' => [
570 stevensc 2034
                                'controller' => '\LeadersLinked\Controller\FeedController',
2035
                                'action' => 'add'
2036
                            ]
2037
                        ]
1 efrain 2038
                    ],
2039
                    'vote' => [
2040
                        'type' => Segment::class,
2041
                        'options' => [
2042
                            'route' => '/vote/:id',
2043
                            'constraints' => [
570 stevensc 2044
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2045
                            ],
2046
                            'defaults' => [
570 stevensc 2047
                                'controller' => '\LeadersLinked\Controller\FeedController',
2048
                                'action' => 'vote'
2049
                            ]
2050
                        ]
2051
                    ]
2052
                ]
1 efrain 2053
            ],
2054
            'job' => [
2055
                'type' => Literal::class,
2056
                'options' => [
2057
                    'route' => '/job',
2058
                    'defaults' => [
570 stevensc 2059
                        'controller' => '\LeadersLinked\Controller\JobController',
2060
                        'action' => 'index'
2061
                    ]
1 efrain 2062
                ],
2063
                'may_terminate' => true,
2064
                'child_routes' => [
2065
                    'view' => [
2066
                        'type' => Segment::class,
2067
                        'options' => [
2068
                            'route' => '/view/:id',
2069
                            'constraints' => [
570 stevensc 2070
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2071
                            ],
2072
                            'defaults' => [
570 stevensc 2073
                                'controller' => '\LeadersLinked\Controller\JobController',
2074
                                'action' => 'view'
2075
                            ]
2076
                        ]
1 efrain 2077
                    ],
2078
                    'apply-job' => [
2079
                        'type' => Segment::class,
2080
                        'options' => [
2081
                            'route' => '/apply-job/:id',
2082
                            'constraints' => [
570 stevensc 2083
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2084
                            ],
2085
                            'defaults' => [
570 stevensc 2086
                                'controller' => '\LeadersLinked\Controller\JobController',
2087
                                'action' => 'applyJob'
2088
                            ]
2089
                        ]
1 efrain 2090
                    ],
2091
                    'remove-apply-job' => [
2092
                        'type' => Segment::class,
2093
                        'options' => [
2094
                            'route' => '/remove-apply-job/:id',
2095
                            'constraints' => [
570 stevensc 2096
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2097
                            ],
2098
                            'defaults' => [
570 stevensc 2099
                                'controller' => '\LeadersLinked\Controller\JobController',
2100
                                'action' => 'removeApplyJob'
2101
                            ]
2102
                        ]
1 efrain 2103
                    ],
2104
                    'save-job' => [
2105
                        'type' => Segment::class,
2106
                        'options' => [
2107
                            'route' => '/save-job/:id',
2108
                            'constraints' => [
570 stevensc 2109
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2110
                            ],
2111
                            'defaults' => [
570 stevensc 2112
                                'controller' => '\LeadersLinked\Controller\JobController',
2113
                                'action' => 'saveJob'
2114
                            ]
2115
                        ]
1 efrain 2116
                    ],
2117
                    'remove-save-job' => [
2118
                        'type' => Segment::class,
2119
                        'options' => [
2120
                            'route' => '/remove-save-job/:id',
2121
                            'constraints' => [
570 stevensc 2122
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2123
                            ],
2124
                            'defaults' => [
570 stevensc 2125
                                'controller' => '\LeadersLinked\Controller\JobController',
2126
                                'action' => 'removeSaveJob'
2127
                            ]
2128
                        ]
1 efrain 2129
                    ],
2130
                    'applied-jobs' => [
2131
                        'type' => Literal::class,
2132
                        'options' => [
2133
                            'route' => '/applied-jobs',
2134
                            'defaults' => [
570 stevensc 2135
                                'controller' => '\LeadersLinked\Controller\JobController',
2136
                                'action' => 'appliedJobs'
2137
                            ]
2138
                        ]
1 efrain 2139
                    ],
2140
                    'saved-jobs' => [
2141
                        'type' => Literal::class,
2142
                        'options' => [
2143
                            'route' => '/saved-jobs',
2144
                            'defaults' => [
570 stevensc 2145
                                'controller' => '\LeadersLinked\Controller\JobController',
2146
                                'action' => 'savedJobs'
2147
                            ]
2148
                        ]
2149
                    ]
2150
                ]
1 efrain 2151
            ],
2152
            /*
2153
              'job' => [
2154
              'type' => Literal::class,
2155
              'options' => [
2156
              'route' => '/job',
2157
              'defaults' => [
570 stevensc 2158
              'controller' => '\LeadersLinked\Controller\JobController',
1 efrain 2159
              'action' => 'index'
2160
              ]
2161
              ],
2162
              'may_terminate' => true,
2163
              'child_routes' => [
2164
              'view' => [
2165
              'type' => Segment::class,
2166
              'options' => [
2167
              'route' => '/view/:id',
2168
              'constraints' => [
570 stevensc 2169
              'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2170
              ],
2171
              'defaults' => [
570 stevensc 2172
              'controller' => '\LeadersLinked\Controller\CompanyController',
1 efrain 2173
              'action' => 'job'
2174
              ]
2175
              ]
2176
              ],
2177
              ]
2178
              ],
2179
             */
2180
            'search' => [
2181
                'type' => Segment::class,
2182
                'options' => [
2183
                    'route' => '/search[/entity/:entity]',
2184
                    'constraints' => [
570 stevensc 2185
                        'entity' => 'user|company|group|job'
1 efrain 2186
                    ],
2187
                    'defaults' => [
570 stevensc 2188
                        'controller' => '\LeadersLinked\Controller\SearchController',
2189
                        'action' => 'index'
2190
                    ]
2191
                ]
1 efrain 2192
            ],
2193
            'group' => [
2194
                'type' => Literal::class,
2195
                'options' => [
2196
                    'route' => '/group',
2197
                    'defaults' => [
570 stevensc 2198
                        'controller' => '\LeadersLinked\GroupController',
2199
                        'action' => 'index'
2200
                    ]
1 efrain 2201
                ],
2202
                'may_terminate' => true,
2203
                'child_routes' => [
2204
                    'view' => [
2205
                        'type' => Segment::class,
2206
                        'options' => [
2207
                            'route' => '/view/:id',
2208
                            'constraints' => [
570 stevensc 2209
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2210
                            ],
2211
                            'defaults' => [
570 stevensc 2212
                                'controller' => '\LeadersLinked\Controller\GroupController',
2213
                                'action' => 'view'
2214
                            ]
2215
                        ]
1 efrain 2216
                    ],
2217
                    'request' => [
2218
                        'type' => Segment::class,
2219
                        'options' => [
2220
                            'route' => '/request/:id',
2221
                            'constraints' => [
570 stevensc 2222
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2223
                            ],
2224
                            'defaults' => [
570 stevensc 2225
                                'controller' => '\LeadersLinked\Controller\GroupController',
2226
                                'action' => 'request'
2227
                            ]
2228
                        ]
1 efrain 2229
                    ],
2230
                    'leave' => [
2231
                        'type' => Segment::class,
2232
                        'options' => [
2233
                            'route' => '/leave/:id',
2234
                            'constraints' => [
570 stevensc 2235
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2236
                            ],
2237
                            'defaults' => [
570 stevensc 2238
                                'controller' => '\LeadersLinked\Controller\GroupController',
2239
                                'action' => 'leave'
2240
                            ]
2241
                        ]
1 efrain 2242
                    ],
2243
                    'accept' => [
2244
                        'type' => Segment::class,
2245
                        'options' => [
2246
                            'route' => '/accept/:id',
2247
                            'constraints' => [
570 stevensc 2248
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2249
                            ],
2250
                            'defaults' => [
570 stevensc 2251
                                'controller' => '\LeadersLinked\Controller\GroupController',
2252
                                'action' => 'accept'
2253
                            ]
2254
                        ]
1 efrain 2255
                    ],
2256
                    'cancel' => [
2257
                        'type' => Segment::class,
2258
                        'options' => [
2259
                            'route' => '/cancel/:id',
2260
                            'constraints' => [
570 stevensc 2261
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2262
                            ],
2263
                            'defaults' => [
570 stevensc 2264
                                'controller' => '\LeadersLinked\Controller\GroupController',
2265
                                'action' => 'cancel'
2266
                            ]
2267
                        ]
1 efrain 2268
                    ],
2269
                    'reject' => [
2270
                        'type' => Segment::class,
2271
                        'options' => [
2272
                            'route' => '/reject/:id',
2273
                            'constraints' => [
570 stevensc 2274
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2275
                            ],
2276
                            'defaults' => [
570 stevensc 2277
                                'controller' => '\LeadersLinked\Controller\GroupController',
2278
                                'action' => 'reject'
2279
                            ]
2280
                        ]
1 efrain 2281
                    ],
2282
                    'joined-groups' => [
2283
                        'type' => Literal::class,
2284
                        'options' => [
2285
                            'route' => '/joined-groups',
2286
                            'defaults' => [
570 stevensc 2287
                                'controller' => '\LeadersLinked\Controller\GroupController',
2288
                                'action' => 'joinedGroups'
2289
                            ]
2290
                        ]
1 efrain 2291
                    ],
2292
                    'requests-sent' => [
2293
                        'type' => Literal::class,
2294
                        'options' => [
2295
                            'route' => '/requests-sent',
2296
                            'defaults' => [
570 stevensc 2297
                                'controller' => '\LeadersLinked\Controller\GroupController',
2298
                                'action' => 'requestsSent'
2299
                            ]
2300
                        ]
1 efrain 2301
                    ],
2302
                    'invitations-received' => [
2303
                        'type' => Literal::class,
2304
                        'options' => [
2305
                            'route' => '/invitations-received',
2306
                            'defaults' => [
570 stevensc 2307
                                'controller' => '\LeadersLinked\Controller\GroupController',
2308
                                'action' => 'invitationsReceived'
2309
                            ]
2310
                        ]
1 efrain 2311
                    ],
2312
                    'my-groups' => [
2313
                        'type' => Literal::class,
2314
                        'options' => [
2315
                            'route' => '/my-groups',
2316
                            'defaults' => [
570 stevensc 2317
                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2318
                                'action' => 'index'
2319
                            ]
1 efrain 2320
                        ],
2321
                        'may_terminate' => true,
2322
                        'child_routes' => [
2323
                            'add' => [
2324
                                'type' => Literal::class,
2325
                                'options' => [
2326
                                    'route' => '/add',
2327
                                    'defaults' => [
570 stevensc 2328
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2329
                                        'action' => 'add'
2330
                                    ]
2331
                                ]
1 efrain 2332
                            ],
2333
                            'edit' => [
2334
                                'type' => Segment::class,
2335
                                'options' => [
2336
                                    'route' => '/edit/:id',
2337
                                    'constraints' => [
570 stevensc 2338
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2339
                                    ],
2340
                                    'defaults' => [
570 stevensc 2341
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2342
                                        'action' => 'edit'
2343
                                    ]
2344
                                ]
1 efrain 2345
                            ],
2346
                            'delete' => [
2347
                                'type' => Segment::class,
2348
                                'options' => [
2349
                                    'route' => '/delete/:id',
2350
                                    'constraints' => [
570 stevensc 2351
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2352
                                    ],
2353
                                    'defaults' => [
570 stevensc 2354
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2355
                                        'action' => 'delete'
2356
                                    ]
2357
                                ]
1 efrain 2358
                            ],
2359
                            'extended' => [
2360
                                'type' => Segment::class,
2361
                                'options' => [
2362
                                    'route' => '/extended/:id',
2363
                                    'constraints' => [
570 stevensc 2364
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2365
                                    ],
2366
                                    'defaults' => [
570 stevensc 2367
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2368
                                        'action' => 'extended'
2369
                                    ]
2370
                                ]
1 efrain 2371
                            ],
2372
                            'image' => [
2373
                                'type' => Segment::class,
2374
                                'options' => [
2375
                                    'route' => '/image/:id/operation/:operation',
2376
                                    'constraints' => [
570 stevensc 2377
                                        'id' => '[A-Za-z0-9\-]+\=*',
2378
                                        'operation' => 'upload|delete'
1 efrain 2379
                                    ],
2380
                                    'defaults' => [
570 stevensc 2381
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2382
                                        'action' => 'image'
2383
                                    ]
2384
                                ]
1 efrain 2385
                            ],
2386
                            'cover' => [
2387
                                'type' => Segment::class,
2388
                                'options' => [
2389
                                    'route' => '/cover/:id/operation/:operation',
2390
                                    'constraints' => [
570 stevensc 2391
                                        'id' => '[A-Za-z0-9\-]+\=*',
2392
                                        'operation' => 'upload|delete'
1 efrain 2393
                                    ],
2394
                                    'defaults' => [
570 stevensc 2395
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2396
                                        'action' => 'cover'
2397
                                    ]
2398
                                ]
1 efrain 2399
                            ],
2400
                            'privacy' => [
2401
                                'type' => Segment::class,
2402
                                'options' => [
2403
                                    'route' => '/privacy/:id',
2404
                                    'constraints' => [
570 stevensc 2405
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2406
                                    ],
2407
                                    'defaults' => [
570 stevensc 2408
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2409
                                        'action' => 'privacy'
2410
                                    ]
2411
                                ]
1 efrain 2412
                            ],
2413
                            'website' => [
2414
                                'type' => Segment::class,
2415
                                'options' => [
2416
                                    'route' => '/website/:id',
2417
                                    'constraints' => [
570 stevensc 2418
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2419
                                    ],
2420
                                    'defaults' => [
570 stevensc 2421
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2422
                                        'action' => 'website'
2423
                                    ]
2424
                                ]
1 efrain 2425
                            ],
2426
                            'industry' => [
2427
                                'type' => Segment::class,
2428
                                'options' => [
2429
                                    'route' => '/industry/:id',
2430
                                    'constraints' => [
570 stevensc 2431
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2432
                                    ],
2433
                                    'defaults' => [
570 stevensc 2434
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2435
                                        'action' => 'industry'
2436
                                    ]
2437
                                ]
1 efrain 2438
                            ],
2439
                            'accessibility' => [
2440
                                'type' => Segment::class,
2441
                                'options' => [
2442
                                    'route' => '/accessibility/:id',
2443
                                    'constraints' => [
570 stevensc 2444
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2445
                                    ],
2446
                                    'defaults' => [
570 stevensc 2447
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2448
                                        'action' => 'accessibility'
2449
                                    ]
2450
                                ]
1 efrain 2451
                            ],
2452
                            'type' => [
2453
                                'type' => Segment::class,
2454
                                'options' => [
2455
                                    'route' => '/type/:id',
2456
                                    'constraints' => [
570 stevensc 2457
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2458
                                    ],
2459
                                    'defaults' => [
570 stevensc 2460
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2461
                                        'action' => 'type'
2462
                                    ]
2463
                                ]
1 efrain 2464
                            ],
2465
                            'status' => [
2466
                                'type' => Segment::class,
2467
                                'options' => [
2468
                                    'route' => '/status/:id',
2469
                                    'constraints' => [
570 stevensc 2470
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2471
                                    ],
2472
                                    'defaults' => [
570 stevensc 2473
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2474
                                        'action' => 'status'
2475
                                    ]
2476
                                ]
1 efrain 2477
                            ],
2478
                            'members' => [
2479
                                'type' => Segment::class,
2480
                                'options' => [
2481
                                    'route' => '/members/:id',
2482
                                    'constraints' => [
570 stevensc 2483
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2484
                                    ],
2485
                                    'defaults' => [
570 stevensc 2486
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2487
                                        'action' => 'members'
2488
                                    ]
1 efrain 2489
                                ],
2490
                                'may_terminate' => true,
2491
                                'child_routes' => [
2492
                                    'invite' => [
2493
                                        'type' => Segment::class,
2494
                                        'options' => [
2495
                                            'route' => '/invite/:user_id',
2496
                                            'constraints' => [
570 stevensc 2497
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2498
                                            ],
2499
                                            'defaults' => [
570 stevensc 2500
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2501
                                                'action' => 'invite'
2502
                                            ]
2503
                                        ]
1 efrain 2504
                                    ],
2505
                                    'approve' => [
2506
                                        'type' => Segment::class,
2507
                                        'options' => [
2508
                                            'route' => '/approve/:user_id',
2509
                                            'constraints' => [
570 stevensc 2510
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2511
                                            ],
2512
                                            'defaults' => [
570 stevensc 2513
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2514
                                                'action' => 'approve'
2515
                                            ]
2516
                                        ]
1 efrain 2517
                                    ],
2518
                                    'reject' => [
2519
                                        'type' => Segment::class,
2520
                                        'options' => [
2521
                                            'route' => '/reject/:user_id',
2522
                                            'constraints' => [
570 stevensc 2523
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2524
                                            ],
2525
                                            'defaults' => [
570 stevensc 2526
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2527
                                                'action' => 'reject'
2528
                                            ]
2529
                                        ]
1 efrain 2530
                                    ],
2531
                                    'cancel' => [
2532
                                        'type' => Segment::class,
2533
                                        'options' => [
2534
                                            'route' => '/cancel/:user_id',
2535
                                            'constraints' => [
570 stevensc 2536
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2537
                                            ],
2538
                                            'defaults' => [
570 stevensc 2539
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2540
                                                'action' => 'cancel'
2541
                                            ]
2542
                                        ]
2543
                                    ]
2544
                                ]
2545
                            ]
2546
                        ]
2547
                    ]
2548
                ]
1 efrain 2549
            ],
2550
            'profile' => [
2551
                'type' => Literal::class,
2552
                'options' => [
2553
                    'route' => '/profile',
2554
                    'defaults' => [
570 stevensc 2555
                        'controller' => '\LeadersLinked\ControllerProfileController',
2556
                        'action' => 'index'
2557
                    ]
1 efrain 2558
                ],
2559
                'may_terminate' => true,
2560
                'child_routes' => [
570 stevensc 2561
 
1 efrain 2562
                    'people-viewed-profile' => [
2563
                        'type' => Literal::class,
2564
                        'options' => [
2565
                            'route' => '/people-viewed-profile',
2566
                            'defaults' => [
570 stevensc 2567
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2568
                                'action' => 'peopleViewedProfile'
2569
                            ]
2570
                        ]
1 efrain 2571
                    ],
2572
                    'view' => [
2573
                        'type' => Segment::class,
2574
                        'options' => [
2575
                            'route' => '/view/:id',
2576
                            'constraints' => [
570 stevensc 2577
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2578
                            ],
2579
                            'defaults' => [
570 stevensc 2580
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2581
                                'action' => 'view'
2582
                            ]
2583
                        ]
1 efrain 2584
                    ],
2585
                    'self-evaluation' => [
2586
                        'type' => Literal::class,
2587
                        'options' => [
2588
                            'route' => '/self-evaluation',
2589
                            'defaults' => [
570 stevensc 2590
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2591
                                'action' => 'index'
2592
                            ]
1 efrain 2593
                        ],
2594
                        'may_terminate' => true,
2595
                        'child_routes' => [
2596
                            'take-a-test' => [
2597
                                'type' => Segment::class,
2598
                                'options' => [
2599
                                    'route' => '/take-a-test/:id',
2600
                                    'constraints' => [
570 stevensc 2601
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2602
                                    ],
2603
                                    'defaults' => [
570 stevensc 2604
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2605
                                        'action' => 'takeaTest'
2606
                                    ]
2607
                                ]
1 efrain 2608
                            ],
2609
                            'report' => [
2610
                                'type' => Segment::class,
2611
                                'options' => [
2612
                                    'route' => '/report/:id',
2613
                                    'constraints' => [
570 stevensc 2614
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2615
                                    ],
2616
                                    'defaults' => [
570 stevensc 2617
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2618
                                        'action' => 'report'
2619
                                    ]
2620
                                ]
2621
                            ]
2622
                        ]
1 efrain 2623
                    ],
2624
                    'performance-evaluation' => [
2625
                        'type' => Literal::class,
2626
                        'options' => [
2627
                            'route' => '/performance-evaluation',
2628
                            'defaults' => [
570 stevensc 2629
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2630
                                'action' => 'index'
2631
                            ]
1 efrain 2632
                        ],
2633
                        'may_terminate' => true,
2634
                        'child_routes' => [
2635
                            'take-a-test' => [
2636
                                'type' => Segment::class,
2637
                                'options' => [
2638
                                    'route' => '/take-a-test/:id',
2639
                                    'constraints' => [
570 stevensc 2640
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2641
                                    ],
2642
                                    'defaults' => [
570 stevensc 2643
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2644
                                        'action' => 'takeaTest'
2645
                                    ]
2646
                                ]
1 efrain 2647
                            ],
2648
                            'report' => [
2649
                                'type' => Segment::class,
2650
                                'options' => [
2651
                                    'route' => '/report/:id',
2652
                                    'constraints' => [
570 stevensc 2653
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2654
                                    ],
2655
                                    'defaults' => [
570 stevensc 2656
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2657
                                        'action' => 'report'
2658
                                    ]
2659
                                ]
2660
                            ]
2661
                        ]
1 efrain 2662
                    ],
2663
                    'my-profiles' => [
2664
                        'type' => Literal::class,
2665
                        'options' => [
2666
                            'route' => '/my-profiles',
2667
                            'defaults' => [
570 stevensc 2668
                                'controller' => '\LeadersLinked\Controller\MyProfilesController',
2669
                                'action' => 'index'
2670
                            ]
1 efrain 2671
                        ],
2672
                        'may_terminate' => true,
2673
                        'child_routes' => [
2674
                            'add' => [
2675
                                'type' => Literal::class,
2676
                                'options' => [
2677
                                    'route' => '/add',
2678
                                    'defaults' => [
570 stevensc 2679
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2680
                                        'action' => 'add'
2681
                                    ]
2682
                                ]
1 efrain 2683
                            ],
2684
                            'edit' => [
2685
                                'type' => Segment::class,
2686
                                'options' => [
2687
                                    'route' => '/edit/:id',
2688
                                    'constraints' => [
570 stevensc 2689
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2690
                                    ],
2691
                                    'defaults' => [
570 stevensc 2692
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2693
                                        'action' => 'edit'
2694
                                    ]
2695
                                ]
1 efrain 2696
                            ],
2697
                            'delete' => [
2698
                                'type' => Segment::class,
2699
                                'options' => [
2700
                                    'route' => '/delete/:id',
2701
                                    'constraints' => [
570 stevensc 2702
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2703
                                    ],
2704
                                    'defaults' => [
570 stevensc 2705
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2706
                                        'action' => 'delete'
2707
                                    ]
2708
                                ]
1 efrain 2709
                            ],
2710
                            'extended' => [
2711
                                'type' => Segment::class,
2712
                                'options' => [
2713
                                    'route' => '/extended/:id',
2714
                                    'constraints' => [
570 stevensc 2715
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2716
                                    ],
2717
                                    'defaults' => [
570 stevensc 2718
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2719
                                        'action' => 'extended'
2720
                                    ]
2721
                                ]
1 efrain 2722
                            ],
2723
                            'image' => [
2724
                                'type' => Segment::class,
2725
                                'options' => [
2726
                                    'route' => '/image/:id/operation/:operation',
2727
                                    'constraints' => [
570 stevensc 2728
                                        'id' => '[A-Za-z0-9\-]+\=*',
2729
                                        'operation' => 'upload|delete'
1 efrain 2730
                                    ],
2731
                                    'defaults' => [
570 stevensc 2732
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2733
                                        'action' => 'image'
2734
                                    ]
2735
                                ]
1 efrain 2736
                            ],
2737
                            'cover' => [
2738
                                'type' => Segment::class,
2739
                                'options' => [
2740
                                    'route' => '/cover/:id/operation/:operation',
2741
                                    'constraints' => [
570 stevensc 2742
                                        'id' => '[A-Za-z0-9\-]+\=*',
2743
                                        'operation' => 'upload|delete'
1 efrain 2744
                                    ],
2745
                                    'defaults' => [
570 stevensc 2746
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2747
                                        'action' => 'cover'
2748
                                    ]
2749
                                ]
1 efrain 2750
                            ],
2751
                            'experience' => [
2752
                                'type' => Segment::class,
2753
                                'options' => [
2754
                                    'route' => '/experience/:id/operation/:operation[/:user_experience_id]',
2755
                                    'constraints' => [
570 stevensc 2756
                                        'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 2757
                                        'operation' => 'add|edit|delete',
570 stevensc 2758
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2759
                                    ],
2760
                                    'defaults' => [
570 stevensc 2761
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2762
                                        'action' => 'experience'
2763
                                    ]
2764
                                ]
1 efrain 2765
                            ],
2766
                            'education' => [
2767
                                'type' => Segment::class,
2768
                                'options' => [
2769
                                    'route' => '/education/:id/operation/:operation[/:user_education_id]',
2770
                                    'constraints' => [
570 stevensc 2771
                                        'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 2772
                                        'operation' => 'add|edit|delete',
570 stevensc 2773
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2774
                                    ],
2775
                                    'defaults' => [
570 stevensc 2776
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2777
                                        'action' => 'education'
2778
                                    ]
2779
                                ]
1 efrain 2780
                            ],
2781
                            'language' => [
2782
                                'type' => Segment::class,
2783
                                'options' => [
2784
                                    'route' => '/language/:id',
2785
                                    'constraints' => [
570 stevensc 2786
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2787
                                    ],
2788
                                    'defaults' => [
570 stevensc 2789
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2790
                                        'action' => 'language'
2791
                                    ]
2792
                                ]
1 efrain 2793
                            ],
2794
                            'location' => [
2795
                                'type' => Segment::class,
2796
                                'options' => [
2797
                                    'route' => '/location/:id',
2798
                                    'constraints' => [
570 stevensc 2799
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2800
                                    ],
2801
                                    'defaults' => [
570 stevensc 2802
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2803
                                        'action' => 'location'
2804
                                    ]
2805
                                ]
1 efrain 2806
                            ],
2807
                            'skill' => [
2808
                                'type' => Segment::class,
2809
                                'options' => [
2810
                                    'route' => '/skill/:id',
2811
                                    'constraints' => [
570 stevensc 2812
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2813
                                    ],
2814
                                    'defaults' => [
570 stevensc 2815
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2816
                                        'action' => 'skill'
2817
                                    ]
2818
                                ]
1 efrain 2819
                            ],
2820
                            'social-network' => [
2821
                                'type' => Segment::class,
2822
                                'options' => [
2823
                                    'route' => '/social-network/:id',
2824
                                    'constraints' => [
570 stevensc 2825
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2826
                                    ],
2827
                                    'defaults' => [
570 stevensc 2828
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2829
                                        'action' => 'socialNetwork'
2830
                                    ]
2831
                                ]
1 efrain 2832
                            ],
2833
                            'aptitude' => [
2834
                                'type' => Segment::class,
2835
                                'options' => [
2836
                                    'route' => '/aptitude/:id',
2837
                                    'constraints' => [
570 stevensc 2838
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2839
                                    ],
2840
                                    'defaults' => [
570 stevensc 2841
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2842
                                        'action' => 'aptitude'
2843
                                    ]
2844
                                ]
1 efrain 2845
                            ],
2846
                            'hobby-and-interest' => [
2847
                                'type' => Segment::class,
2848
                                'options' => [
2849
                                    'route' => '/hobby-and-interest/:id',
2850
                                    'constraints' => [
570 stevensc 2851
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2852
                                    ],
2853
                                    'defaults' => [
570 stevensc 2854
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2855
                                        'action' => 'hobbyAndInterest'
2856
                                    ]
2857
                                ]
2858
                            ]
2859
                        ]
2860
                    ]
2861
                ]
1 efrain 2862
            ],
2863
            'company' => [
2864
                'type' => Literal::class,
2865
                'options' => [
2866
                    'route' => '/company',
2867
                    'defaults' => [
570 stevensc 2868
                        'controller' => '\LeadersLinked\Controller\CompanyController',
2869
                        'action' => 'index'
2870
                    ]
1 efrain 2871
                ],
2872
                'may_terminate' => true,
2873
                'child_routes' => [
2874
                    'view' => [
2875
                        'type' => Segment::class,
2876
                        'options' => [
2877
                            'route' => '/view/:id',
2878
                            'constraints' => [
570 stevensc 2879
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2880
                            ],
2881
                            'defaults' => [
570 stevensc 2882
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2883
                                'action' => 'view'
2884
                            ]
2885
                        ]
1 efrain 2886
                    ],
2887
                    'follow' => [
2888
                        'type' => Segment::class,
2889
                        'options' => [
2890
                            'route' => '/follow/:id',
2891
                            'constraints' => [
570 stevensc 2892
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2893
                            ],
2894
                            'defaults' => [
570 stevensc 2895
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2896
                                'action' => 'follow'
2897
                            ]
2898
                        ]
1 efrain 2899
                    ],
2900
                    'unfollow' => [
2901
                        'type' => Segment::class,
2902
                        'options' => [
2903
                            'route' => '/unfollow/:id',
2904
                            'constraints' => [
570 stevensc 2905
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2906
                            ],
2907
                            'defaults' => [
570 stevensc 2908
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2909
                                'action' => 'unfollow'
2910
                            ]
2911
                        ]
1 efrain 2912
                    ],
2913
                    'request' => [
2914
                        'type' => Segment::class,
2915
                        'options' => [
2916
                            'route' => '/request/:id',
2917
                            'constraints' => [
570 stevensc 2918
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2919
                            ],
2920
                            'defaults' => [
570 stevensc 2921
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2922
                                'action' => 'request'
2923
                            ]
2924
                        ]
1 efrain 2925
                    ],
2926
                    'accept' => [
2927
                        'type' => Segment::class,
2928
                        'options' => [
2929
                            'route' => '/accept/:id',
2930
                            'constraints' => [
570 stevensc 2931
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2932
                            ],
2933
                            'defaults' => [
570 stevensc 2934
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2935
                                'action' => 'accept'
2936
                            ]
2937
                        ]
1 efrain 2938
                    ],
2939
                    'cancel' => [
2940
                        'type' => Segment::class,
2941
                        'options' => [
2942
                            'route' => '/cancel/:id',
2943
                            'constraints' => [
570 stevensc 2944
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2945
                            ],
2946
                            'defaults' => [
570 stevensc 2947
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2948
                                'action' => 'cancel'
2949
                            ]
2950
                        ]
1 efrain 2951
                    ],
2952
                    'reject' => [
2953
                        'type' => Segment::class,
2954
                        'options' => [
2955
                            'route' => '/reject/:id',
2956
                            'constraints' => [
570 stevensc 2957
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2958
                            ],
2959
                            'defaults' => [
570 stevensc 2960
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2961
                                'action' => 'reject'
2962
                            ]
2963
                        ]
1 efrain 2964
                    ],
2965
                    'leave' => [
2966
                        'type' => Segment::class,
2967
                        'options' => [
2968
                            'route' => '/leave/:id',
2969
                            'constraints' => [
570 stevensc 2970
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2971
                            ],
2972
                            'defaults' => [
570 stevensc 2973
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2974
                                'action' => 'leave'
2975
                            ]
2976
                        ]
1 efrain 2977
                    ],
2978
                    'following-companies' => [
2979
                        'type' => Literal::class,
2980
                        'options' => [
2981
                            'route' => '/following-companies',
2982
                            'defaults' => [
570 stevensc 2983
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2984
                                'action' => 'followingCompanies'
2985
                            ]
2986
                        ]
1 efrain 2987
                    ],
2988
                    'requests-sent' => [
2989
                        'type' => Literal::class,
2990
                        'options' => [
2991
                            'route' => '/requests-sent',
2992
                            'defaults' => [
570 stevensc 2993
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2994
                                'action' => 'requestsSent'
2995
                            ]
1 efrain 2996
                        ],
570 stevensc 2997
                        'may_terminate' => true
1 efrain 2998
                    ],
2999
                    'invitations-received' => [
3000
                        'type' => Literal::class,
3001
                        'options' => [
3002
                            'route' => '/invitations-received',
3003
                            'defaults' => [
570 stevensc 3004
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3005
                                'action' => 'invitationsReceived'
3006
                            ]
1 efrain 3007
                        ],
570 stevensc 3008
                        'may_terminate' => true
1 efrain 3009
                    ],
3010
                    'i-work-with' => [
3011
                        'type' => Literal::class,
3012
                        'options' => [
3013
                            'route' => '/i-work-with',
3014
                            'defaults' => [
570 stevensc 3015
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3016
                                'action' => 'iWorkWith'
3017
                            ]
1 efrain 3018
                        ],
570 stevensc 3019
                        'may_terminate' => true
1 efrain 3020
                    ],
3021
                    'my-companies' => [
3022
                        'type' => Literal::class,
3023
                        'options' => [
3024
                            'route' => '/my-companies',
3025
                            'defaults' => [
570 stevensc 3026
                                'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3027
                                'action' => 'index'
3028
                            ]
1 efrain 3029
                        ],
3030
                        'may_terminate' => true,
3031
                        'child_routes' => [
3032
                            'add' => [
3033
                                'type' => Literal::class,
3034
                                'options' => [
3035
                                    'route' => '/add',
3036
                                    'defaults' => [
570 stevensc 3037
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3038
                                        'action' => 'add'
3039
                                    ]
3040
                                ]
3041
                            ]
3042
                        ]
3043
                    ]
3044
                ]
1 efrain 3045
            ],
3046
            'account-settings' => [
3047
                'type' => Literal::class,
3048
                'options' => [
3049
                    'route' => '/account-settings',
3050
                    'defaults' => [
570 stevensc 3051
                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3052
                        'action' => 'index'
3053
                    ]
1 efrain 3054
                ],
3055
                'may_terminate' => true,
3056
                'child_routes' => [
3057
                    'image' => [
3058
                        'type' => Segment::class,
3059
                        'options' => [
3060
                            'route' => '/image/:operation',
3061
                            'cconstraints' => [
570 stevensc 3062
                                'operation' => 'upload|delete'
1 efrain 3063
                            ],
3064
                            'defaults' => [
570 stevensc 3065
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
1 efrain 3066
                                'action' => 'image',
570 stevensc 3067
                                'operation' => 'upload'
3068
                            ]
3069
                        ]
1 efrain 3070
                    ],
3071
                    'deactivate' => [
3072
                        'type' => Literal::class,
3073
                        'options' => [
3074
                            'route' => '/deactivate',
3075
                            'defaults' => [
570 stevensc 3076
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3077
                                'action' => 'deactivate'
3078
                            ]
3079
                        ]
1 efrain 3080
                    ],
3081
                    'notifications' => [
3082
                        'type' => Literal::class,
3083
                        'options' => [
3084
                            'route' => '/notification',
3085
                            'defaults' => [
570 stevensc 3086
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3087
                                'action' => 'notification'
3088
                            ]
3089
                        ]
1 efrain 3090
                    ],
3091
                    'password' => [
3092
                        'type' => Literal::class,
3093
                        'options' => [
3094
                            'route' => '/password',
3095
                            'defaults' => [
570 stevensc 3096
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3097
                                'action' => 'password'
3098
                            ]
3099
                        ]
1 efrain 3100
                    ],
3101
                    'add-facebook' => [
3102
                        'type' => Literal::class,
3103
                        'options' => [
3104
                            'route' => '/add-facebook',
3105
                            'defaults' => [
570 stevensc 3106
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3107
                                'action' => 'addFacebook'
3108
                            ]
3109
                        ]
1 efrain 3110
                    ],
3111
                    'remove-facebook' => [
3112
                        'type' => Literal::class,
3113
                        'options' => [
3114
                            'route' => '/remove-facebook',
3115
                            'defaults' => [
570 stevensc 3116
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3117
                                'action' => 'removeFacebook'
3118
                            ]
3119
                        ]
1 efrain 3120
                    ],
3121
                    'add-twitter' => [
3122
                        'type' => Literal::class,
3123
                        'options' => [
3124
                            'route' => '/add-twitter',
3125
                            'defaults' => [
570 stevensc 3126
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3127
                                'action' => 'addTwitter'
3128
                            ]
3129
                        ]
1 efrain 3130
                    ],
3131
                    'remove-twitter' => [
3132
                        'type' => Literal::class,
3133
                        'options' => [
3134
                            'route' => '/remove-twitter',
3135
                            'defaults' => [
570 stevensc 3136
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3137
                                'action' => 'removeTwitter'
3138
                            ]
3139
                        ]
1 efrain 3140
                    ],
3141
                    'add-google' => [
3142
                        'type' => Literal::class,
3143
                        'options' => [
3144
                            'route' => '/add-google',
3145
                            'defaults' => [
570 stevensc 3146
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3147
                                'action' => 'addGoogle'
3148
                            ]
3149
                        ]
1 efrain 3150
                    ],
3151
                    'remove-google' => [
3152
                        'type' => Literal::class,
3153
                        'options' => [
3154
                            'route' => '/remove-google',
3155
                            'defaults' => [
570 stevensc 3156
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3157
                                'action' => 'removeGoogle'
3158
                            ]
3159
                        ]
1 efrain 3160
                    ],
3161
                    'location' => [
3162
                        'type' => Literal::class,
3163
                        'options' => [
3164
                            'route' => '/location',
3165
                            'defaults' => [
570 stevensc 3166
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3167
                                'action' => 'location'
3168
                            ]
3169
                        ]
1 efrain 3170
                    ],
3171
                    'privacy' => [
3172
                        'type' => Literal::class,
3173
                        'options' => [
3174
                            'route' => '/privacy',
3175
                            'defaults' => [
570 stevensc 3176
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3177
                                'action' => 'privacy'
3178
                            ]
3179
                        ]
1 efrain 3180
                    ],
3181
                    'basic' => [
3182
                        'type' => Literal::class,
3183
                        'options' => [
3184
                            'route' => '/basic',
3185
                            'defaults' => [
570 stevensc 3186
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3187
                                'action' => 'basic'
3188
                            ]
3189
                        ]
1 efrain 3190
                    ],
3191
                    'transactions' => [
3192
                        'type' => Literal::class,
3193
                        'options' => [
3194
                            'route' => '/transactions',
3195
                            'defaults' => [
570 stevensc 3196
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3197
                                'action' => 'transactions'
3198
                            ]
1 efrain 3199
                        ],
3200
                        'may_terminate' => true,
3201
                        'child_routes' => [
3202
                            'add-funds' => [
3203
                                'type' => Literal::class,
3204
                                'options' => [
3205
                                    'route' => '/add-funds',
3206
                                    'defaults' => [
570 stevensc 3207
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3208
                                        'action' => 'addFund'
3209
                                    ]
3210
                                ]
3211
                            ]
3212
                        ]
1 efrain 3213
                    ],
3214
                    'browsers' => [
3215
                        'type' => Literal::class,
3216
                        'options' => [
3217
                            'route' => '/browsers',
3218
                            'defaults' => [
570 stevensc 3219
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3220
                                'action' => 'browsers'
3221
                            ]
3222
                        ]
1 efrain 3223
                    ],
3224
                    'ips' => [
3225
                        'type' => Literal::class,
3226
                        'options' => [
3227
                            'route' => '/ips',
3228
                            'defaults' => [
570 stevensc 3229
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3230
                                'action' => 'ips'
3231
                            ]
3232
                        ]
1 efrain 3233
                    ],
3234
                    'devices' => [
3235
                        'type' => Literal::class,
3236
                        'options' => [
3237
                            'route' => '/devices',
3238
                            'defaults' => [
570 stevensc 3239
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3240
                                'action' => 'devices'
3241
                            ]
3242
                        ]
1 efrain 3243
                    ],
3244
                    'delete-account' => [
3245
                        'type' => Literal::class,
3246
                        'options' => [
3247
                            'route' => '/delete-account',
3248
                            'defaults' => [
570 stevensc 3249
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3250
                                'action' => 'deleteAccount'
3251
                            ]
3252
                        ]
3253
                    ]
1 efrain 3254
                ],
570 stevensc 3255
                'may_terminate' => true
1 efrain 3256
            ],
3257
            'moodle' => [
3258
                'type' => Literal::class,
3259
                'options' => [
3260
                    'route' => '/moodle',
3261
                    'defaults' => [
570 stevensc 3262
                        'controller' => '\LeadersLinked\Controller\MoodleController',
3263
                        'action' => 'index'
3264
                    ]
1 efrain 3265
                ],
570 stevensc 3266
                'may_terminate' => true
1 efrain 3267
            ],
3268
            'oauth' => [
3269
                'type' => Literal::class,
3270
                'options' => [
3271
                    'route' => '/oauth',
3272
                    'defaults' => [
570 stevensc 3273
                        'controller' => '\LeadersLinked\Controller\OauthController',
3274
                        'action' => 'index'
3275
                    ]
1 efrain 3276
                ],
3277
                'may_terminate' => true,
3278
                'child_routes' => [
3279
                    'facebook' => [
3280
                        'type' => Literal::class,
3281
                        'options' => [
3282
                            'route' => '/facebook',
3283
                            'defaults' => [
570 stevensc 3284
                                'controller' => '\LeadersLinked\Controller\OauthController',
3285
                                'action' => 'facebook'
3286
                            ]
1 efrain 3287
                        ],
3288
                        'may_terminate' => true,
3289
                        'child_routes' => [
3290
                            'delete' => [
3291
                                'type' => Literal::class,
3292
                                'options' => [
3293
                                    'route' => '/delete',
3294
                                    'defaults' => [
570 stevensc 3295
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3296
                                        'action' => 'facebookDelete'
3297
                                    ]
1 efrain 3298
                                ],
570 stevensc 3299
                                'may_terminate' => true
1 efrain 3300
                            ],
3301
                            'cancel' => [
3302
                                'type' => Literal::class,
3303
                                'options' => [
3304
                                    'route' => '/cancel',
3305
                                    'defaults' => [
570 stevensc 3306
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3307
                                        'action' => 'facebookCancel'
3308
                                    ]
1 efrain 3309
                                ],
570 stevensc 3310
                                'may_terminate' => true
3311
                            ]
3312
                        ]
1 efrain 3313
                    ],
3314
                    'twitter' => [
3315
                        'type' => Literal::class,
3316
                        'options' => [
3317
                            'route' => '/twitter',
3318
                            'defaults' => [
570 stevensc 3319
                                'controller' => '\LeadersLinked\Controller\OauthController',
3320
                                'action' => 'twitter'
3321
                            ]
1 efrain 3322
                        ],
570 stevensc 3323
                        'may_terminate' => true
1 efrain 3324
                    ],
3325
                    'google' => [
3326
                        'type' => Literal::class,
3327
                        'options' => [
3328
                            'route' => '/google',
3329
                            'defaults' => [
570 stevensc 3330
                                'controller' => '\LeadersLinked\Controller\OauthController',
3331
                                'action' => 'google'
3332
                            ]
1 efrain 3333
                        ],
570 stevensc 3334
                        'may_terminate' => true
3335
                    ]
345 www 3336
                    /*
3337
                 * 'facebook' => [
3338
                 * 'type' => Literal::class,
3339
                 * 'options' => [
3340
                 * 'route' => '/facebook',
3341
                 * 'defaults' => [
570 stevensc 3342
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3343
                 * 'action' => 'facebook'
3344
                 * ]
3345
                 * ],
3346
                 * 'may_terminate' => true,
3347
                 * 'child_routes' => [
3348
                 * 'cancel' => [
3349
                 * 'type' => Literal::class,
3350
                 * 'options' => [
3351
                 * 'route' => '/cancel',
3352
                 * 'defaults' => [
570 stevensc 3353
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3354
                 * 'action' => 'facebookCancel'
3355
                 * ]
3356
                 * ]
3357
                 * ],
3358
                 * 'delete' => [
3359
                 * 'type' => Literal::class,
3360
                 * 'options' => [
3361
                 * 'route' => '/delete',
3362
                 * 'defaults' => [
570 stevensc 3363
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3364
                 * 'action' => 'facebookDelete'
3365
                 * ]
3366
                 * ]
3367
                 * ]
3368
                 * ]
3369
                 * ]
3370
                 */
570 stevensc 3371
                ]
1 efrain 3372
            ],
3373
            'daily-pulse' => [
3374
                'type' => Literal::class,
3375
                'options' => [
3376
                    'route' => '/daily-pulse',
3377
                    'defaults' => [
570 stevensc 3378
                        'controller' => '\LeadersLinked\Controller\DailyPulseController',
3379
                        'action' => 'index'
3380
                    ]
1 efrain 3381
                ],
3382
                'may_terminate' => true,
3383
                'child_routes' => [
3384
                    'how_are_you_feel' => [
3385
                        'type' => Segment::class,
3386
                        'options' => [
3387
                            'route' => '/how_are_you_feel/:id',
3388
                            'constraints' => [
570 stevensc 3389
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3390
                            ],
3391
                            'defaults' => [
570 stevensc 3392
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3393
                                'action' => 'howAreYouFeel'
3394
                            ]
3395
                        ]
1 efrain 3396
                    ],
3397
                    'climate_on_your_organization' => [
3398
                        'type' => Segment::class,
3399
                        'options' => [
3400
                            'route' => '/climate_on_your_organization/:id',
3401
                            'constraints' => [
570 stevensc 3402
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3403
                            ],
3404
                            'defaults' => [
570 stevensc 3405
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3406
                                'action' => 'climateOnYourOrganization'
3407
                            ]
3408
                        ]
3409
                    ]
3410
                ]
1 efrain 3411
            ],
570 stevensc 3412
 
1 efrain 3413
            'helpers' => [
3414
                'type' => Literal::class,
3415
                'options' => [
3416
                    'route' => '/helpers',
3417
                    'defaults' => [
570 stevensc 3418
                        'controller' => '\LeadersLinked\Controller\HelperController',
3419
                        'action' => 'index'
3420
                    ]
1 efrain 3421
                ],
3422
                'may_terminate' => true,
3423
                'child_routes' => [
3424
                    'menu' => [
3425
                        'type' => Literal::class,
3426
                        'options' => [
3427
                            'route' => '/menu',
3428
                            'defaults' => [
570 stevensc 3429
                                'controller' => '\LeadersLinked\Controller\HelperController',
3430
                                'action' => 'menu'
3431
                            ]
3432
                        ]
1 efrain 3433
                    ],
570 stevensc 3434
 
1 efrain 3435
                    'search-people' => [
3436
                        'type' => Literal::class,
3437
                        'options' => [
3438
                            'route' => '/search-people',
3439
                            'defaults' => [
570 stevensc 3440
                                'controller' => '\LeadersLinked\Controller\HelperController',
3441
                                'action' => 'searchPeople'
3442
                            ]
3443
                        ]
1 efrain 3444
                    ],
3445
                    'company-suggestion' => [
3446
                        'type' => Segment::class,
3447
                        'options' => [
3448
                            'route' => '/company-suggestion/:company_id',
3449
                            'constraints' => [
570 stevensc 3450
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3451
                            ],
3452
                            'defaults' => [
570 stevensc 3453
                                'controller' => '\LeadersLinked\Controller\HelperController',
3454
                                'action' => 'companySuggestion'
3455
                            ]
3456
                        ]
1 efrain 3457
                    ],
3458
                    'posts' => [
3459
                        'type' => Literal::class,
3460
                        'options' => [
3461
                            'route' => '/posts',
3462
                            'defaults' => [
570 stevensc 3463
                                'controller' => '\LeadersLinked\Controller\HelperController',
3464
                                'action' => 'posts'
3465
                            ]
3466
                        ]
1 efrain 3467
                    ],
3468
                    'people-you-may-know' => [
3469
                        'type' => Literal::class,
3470
                        'options' => [
3471
                            'route' => '/people-you-may-know',
3472
                            'defaults' => [
570 stevensc 3473
                                'controller' => '\LeadersLinked\Controller\HelperController',
3474
                                'action' => 'peopleYouMayKnow'
3475
                            ]
3476
                        ]
1 efrain 3477
                    ],
3478
                    'people-viewed-profile' => [
3479
                        'type' => Segment::class,
3480
                        'options' => [
3481
                            'route' => '/people-viewed-profile/:user_profile_id',
3482
                            'constraints' => [
570 stevensc 3483
                                'user_profile_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3484
                            ],
3485
                            'defaults' => [
570 stevensc 3486
                                'controller' => '\LeadersLinked\Controller\HelperController',
3487
                                'action' => 'peopleViewedProfile'
3488
                            ]
3489
                        ]
1 efrain 3490
                    ],
3491
                    'company-follower' => [
3492
                        'type' => Segment::class,
3493
                        'options' => [
3494
                            'route' => '/company-follower/:company_id',
3495
                            'constraints' => [
570 stevensc 3496
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3497
                            ],
3498
                            'defaults' => [
570 stevensc 3499
                                'controller' => '\LeadersLinked\Controller\HelperController',
3500
                                'action' => 'companyFollower'
3501
                            ]
3502
                        ]
1 efrain 3503
                    ],
3504
                    'group-members' => [
3505
                        'type' => Segment::class,
3506
                        'options' => [
3507
                            'route' => '/group-members/:group_id',
3508
                            'constraints' => [
570 stevensc 3509
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3510
                            ],
3511
                            'defaults' => [
570 stevensc 3512
                                'controller' => '\LeadersLinked\Controller\HelperController',
3513
                                'action' => 'groupMembers'
3514
                            ]
1 efrain 3515
                        ],
3516
                        'may_terminate' => true,
3517
                        'child_routes' => [
3518
                            'invite' => [
3519
                                'type' => Literal::class,
3520
                                'options' => [
3521
                                    'route' => '/invite',
3522
                                    'defaults' => [
570 stevensc 3523
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3524
                                        'action' => 'groupMemberInvite'
3525
                                    ]
3526
                                ]
1 efrain 3527
                            ],
3528
                            'reject' => [
3529
                                'type' => Segment::class,
3530
                                'options' => [
3531
                                    'route' => '/reject/:user_id',
3532
                                    'constraints' => [
570 stevensc 3533
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3534
                                    ],
3535
                                    'defaults' => [
570 stevensc 3536
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3537
                                        'action' => 'groupMemberReject'
3538
                                    ]
3539
                                ]
1 efrain 3540
                            ],
3541
                            'cancel' => [
3542
                                'type' => Segment::class,
3543
                                'options' => [
3544
                                    'route' => '/cancel/:user_id',
3545
                                    'constraints' => [
570 stevensc 3546
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3547
                                    ],
3548
                                    'defaults' => [
570 stevensc 3549
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3550
                                        'action' => 'groupMemberCancel'
3551
                                    ]
3552
                                ]
1 efrain 3553
                            ],
3554
                            'approve' => [
3555
                                'type' => Segment::class,
3556
                                'options' => [
3557
                                    'route' => '/approve/:user_id',
3558
                                    'constraints' => [
570 stevensc 3559
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3560
                                    ],
3561
                                    'defaults' => [
570 stevensc 3562
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3563
                                        'action' => 'groupMemberApprove'
3564
                                    ]
3565
                                ]
3566
                            ]
3567
                        ]
1 efrain 3568
                    ],
3569
                    'groups-suggestion' => [
3570
                        'type' => Literal::class,
3571
                        'options' => [
3572
                            'route' => '/groups-suggestion',
3573
                            'defaults' => [
570 stevensc 3574
                                'controller' => '\LeadersLinked\Controller\HelperController',
3575
                                'action' => 'groupsSuggestion'
3576
                            ]
3577
                        ]
1 efrain 3578
                    ],
3579
                    'my-groups' => [
3580
                        'type' => Literal::class,
3581
                        'options' => [
3582
                            'route' => '/my-groups',
3583
                            'defaults' => [
570 stevensc 3584
                                'controller' => '\LeadersLinked\Controller\HelperController',
3585
                                'action' => 'myGroups'
3586
                            ]
3587
                        ]
1 efrain 3588
                    ],
117 efrain 3589
                    'group-types' => [
3590
                        'type' => Literal::class,
3591
                        'options' => [
3592
                            'route' => '/group-types',
3593
                            'defaults' => [
570 stevensc 3594
                                'controller' => '\LeadersLinked\Controller\HelperController',
3595
                                'action' => 'groupTypes'
3596
                            ]
3597
                        ]
117 efrain 3598
                    ],
1 efrain 3599
                    'footer' => [
3600
                        'type' => Literal::class,
3601
                        'options' => [
3602
                            'route' => '/footer',
3603
                            'defaults' => [
570 stevensc 3604
                                'controller' => '\LeadersLinked\Controller\HelperController',
3605
                                'action' => 'footer'
3606
                            ]
3607
                        ]
1 efrain 3608
                    ],
3609
                    'next-events' => [
3610
                        'type' => Literal::class,
3611
                        'options' => [
3612
                            'route' => '/next-events',
3613
                            'defaults' => [
570 stevensc 3614
                                'controller' => '\LeadersLinked\Controller\HelperController',
3615
                                'action' => 'nextEvents'
3616
                            ]
3617
                        ]
1 efrain 3618
                    ],
3619
                    'company-sizes' => [
3620
                        'type' => Literal::class,
3621
                        'options' => [
3622
                            'route' => '/company-sizes',
3623
                            'defaults' => [
570 stevensc 3624
                                'controller' => '\LeadersLinked\Controller\HelperController',
3625
                                'action' => 'companySizes'
3626
                            ]
3627
                        ]
1 efrain 3628
                    ],
3629
                    'degrees' => [
3630
                        'type' => Literal::class,
3631
                        'options' => [
3632
                            'route' => '/degrees',
3633
                            'defaults' => [
570 stevensc 3634
                                'controller' => '\LeadersLinked\Controller\HelperController',
3635
                                'action' => 'degrees'
3636
                            ]
3637
                        ]
1 efrain 3638
                    ],
3639
                    'languages' => [
3640
                        'type' => Literal::class,
3641
                        'options' => [
3642
                            'route' => '/languages',
3643
                            'defaults' => [
570 stevensc 3644
                                'controller' => '\LeadersLinked\Controller\HelperController',
3645
                                'action' => 'languages'
3646
                            ]
3647
                        ]
1 efrain 3648
                    ],
570 stevensc 3649
 
1 efrain 3650
                    'skills' => [
3651
                        'type' => Literal::class,
3652
                        'options' => [
3653
                            'route' => '/skills',
3654
                            'defaults' => [
570 stevensc 3655
                                'controller' => '\LeadersLinked\Controller\HelperController',
3656
                                'action' => 'skills'
3657
                            ]
3658
                        ]
1 efrain 3659
                    ],
570 stevensc 3660
 
1 efrain 3661
                    'aptitudes' => [
3662
                        'type' => Literal::class,
3663
                        'options' => [
3664
                            'route' => '/aptitudes',
3665
                            'defaults' => [
570 stevensc 3666
                                'controller' => '\LeadersLinked\Controller\HelperController',
3667
                                'action' => 'aptitudes'
3668
                            ]
3669
                        ]
1 efrain 3670
                    ],
570 stevensc 3671
 
1 efrain 3672
                    'hobbies' => [
3673
                        'type' => Literal::class,
3674
                        'options' => [
3675
                            'route' => '/hobbies',
3676
                            'defaults' => [
570 stevensc 3677
                                'controller' => '\LeadersLinked\Controller\HelperController',
3678
                                'action' => 'hobbies'
3679
                            ]
3680
                        ]
1 efrain 3681
                    ],
570 stevensc 3682
 
1 efrain 3683
                    'industries' => [
3684
                        'type' => Literal::class,
3685
                        'options' => [
3686
                            'route' => '/industries',
3687
                            'defaults' => [
570 stevensc 3688
                                'controller' => '\LeadersLinked\Controller\HelperController',
3689
                                'action' => 'industries'
3690
                            ]
3691
                        ]
1 efrain 3692
                    ],
570 stevensc 3693
 
1 efrain 3694
                    'timezones' => [
3695
                        'type' => Literal::class,
3696
                        'options' => [
3697
                            'route' => '/timezones',
3698
                            'defaults' => [
570 stevensc 3699
                                'controller' => '\LeadersLinked\Controller\HelperController',
3700
                                'action' => 'timeZones'
3701
                            ]
3702
                        ]
1 efrain 3703
                    ],
570 stevensc 3704
 
192 efrain 3705
                    'abuse-report' => [
193 efrain 3706
                        'type' => Segment::class,
192 efrain 3707
                        'options' => [
3708
                            'route' => '/abuse-report/:type/:id',
3709
                            'constraints' => [
3710
                                'type' => 'feed|post|comment|message|chat-message|chat-group-message',
570 stevensc 3711
                                'id' => '[A-Za-z0-9\-]+\=*'
192 efrain 3712
                            ],
3713
                            'defaults' => [
570 stevensc 3714
                                'controller' => '\LeadersLinked\Controller\HelperController',
3715
                                'action' => 'abuseReport'
3716
                            ]
3717
                        ]
192 efrain 3718
                    ],
570 stevensc 3719
 
307 www 3720
                    'habits-and-skills' => [
3721
                        'type' => Literal::class,
3722
                        'options' => [
3723
                            'route' => '/habits-and-skills',
570 stevensc 3724
 
307 www 3725
                            'defaults' => [
570 stevensc 3726
                                'controller' => '\LeadersLinked\Controller\HelperController',
3727
                                'action' => 'habitsAndSkills'
3728
                            ]
308 www 3729
                        ],
3730
                        'may_terminate' => true,
3731
                        'child_routes' => [
3732
                            'get' => [
3733
                                'type' => Segment::class,
3734
                                'options' => [
3735
                                    'route' => '/get/:id',
3736
                                    'constraints' => [
570 stevensc 3737
                                        'id' => '[A-Za-z0-9\-]+\=*'
308 www 3738
                                    ],
3739
                                    'defaults' => [
570 stevensc 3740
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3741
                                        'action' => 'habitsAndSkillsGet'
3742
                                    ]
3743
                                ]
308 www 3744
                            ],
323 www 3745
                            'my' => [
3746
                                'type' => Literal::class,
3747
                                'options' => [
3748
                                    'route' => '/my',
3749
                                    'defaults' => [
570 stevensc 3750
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3751
                                        'action' => 'myHabitsAndSkillsGet'
3752
                                    ]
3753
                                ]
3754
                            ]
3755
                        ]
3756
                    ]
3757
                ]
1 efrain 3758
            ],
3759
            'help' => [
3760
                'type' => Literal::class,
3761
                'options' => [
3762
                    'route' => '/help',
3763
                    'defaults' => [
570 stevensc 3764
                        'controller' => '\LeadersLinked\Controller\HelpController',
3765
                        'action' => 'send'
3766
                    ]
1 efrain 3767
                ],
570 stevensc 3768
                'may_terminate' => true
1 efrain 3769
            ],
570 stevensc 3770
 
1 efrain 3771
            'marketplace' => [
3772
                'type' => Literal::class,
3773
                'options' => [
3774
                    'route' => '/marketplace',
3775
                    'defaults' => [
570 stevensc 3776
                        'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3777
                        'action' => 'index'
3778
                    ]
1 efrain 3779
                ],
3780
                'may_terminate' => true,
3781
                'child_routes' => [
3782
                    'categories' => [
3783
                        'type' => Segment::class,
3784
                        'options' => [
3785
                            'route' => '/categories',
3786
                            'defaults' => [
570 stevensc 3787
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3788
                                'action' => 'getCategories'
3789
                            ]
3790
                        ]
1 efrain 3791
                    ],
3792
                    'enroll' => [
3793
                        'type' => Segment::class,
3794
                        'options' => [
626 stevensc 3795
                            'route' => '/enroll/:company_uuid/:topic_uuid',
1 efrain 3796
                            'constraints' => [
626 stevensc 3797
                                'company_uuid' => '[A-Za-z0-9\-]+\=*',
3798
                                'topic_uuid' => '[A-Za-z0-9\-]+\=*'
1 efrain 3799
                            ],
3800
                            'defaults' => [
570 stevensc 3801
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3802
                                'action' => 'enroll'
3803
                            ]
3804
                        ]
1 efrain 3805
                    ],
3806
                    'claim' => [
3807
                        'type' => Segment::class,
3808
                        'options' => [
3809
                            'route' => '/claim/:id',
3810
                            'constraints' => [
570 stevensc 3811
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3812
                            ],
3813
                            'defaults' => [
570 stevensc 3814
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3815
                                'action' => 'claim'
3816
                            ]
3817
                        ]
3818
                    ]
3819
                ]
1 efrain 3820
            ],
119 efrain 3821
            'microlearning' => [
3822
                'type' => Literal::class,
3823
                'options' => [
3824
                    'route' => '/microlearning',
3825
                    'defaults' => [
570 stevensc 3826
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
3827
                        'action' => 'index'
3828
                    ]
119 efrain 3829
                ],
3830
                'may_terminate' => true,
3831
                'child_routes' => [
3832
                    'profile' => [
3833
                        'type' => Segment::class,
3834
                        'options' => [
3835
                            'route' => '/profile',
3836
                            'defaults' => [
570 stevensc 3837
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3838
                                'action' => 'profile'
3839
                            ]
3840
                        ]
119 efrain 3841
                    ],
3842
                    'companies' => [
3843
                        'type' => Segment::class,
3844
                        'options' => [
3845
                            'route' => '/companies',
3846
                            'defaults' => [
570 stevensc 3847
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3848
                                'action' => 'companies'
3849
                            ]
3850
                        ]
119 efrain 3851
                    ],
3852
                    'progress' => [
3853
                        'type' => Segment::class,
3854
                        'options' => [
3855
                            'route' => '/progress/:id',
3856
                            'constraints' => [
570 stevensc 3857
                                'id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3858
                            ],
3859
                            'defaults' => [
570 stevensc 3860
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3861
                                'action' => 'progress'
3862
                            ]
3863
                        ]
119 efrain 3864
                    ],
3865
                    'timeline' => [
3866
                        'type' => Segment::class,
3867
                        'options' => [
3868
                            'route' => '/timeline',
3869
                            'defaults' => [
570 stevensc 3870
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3871
                                'action' => 'timeline'
3872
                            ]
3873
                        ]
119 efrain 3874
                    ],
3875
                    'topics' => [
3876
                        'type' => Segment::class,
3877
                        'options' => [
3878
                            'route' => '/topics',
3879
                            'defaults' => [
570 stevensc 3880
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3881
                                'action' => 'topics'
3882
                            ]
161 efrain 3883
                        ],
563 stevensc 3884
                        'may_terminate' => true,
573 stevensc 3885
                    ],
3886
                    'topic' => [
3887
                        'type' => Segment::class,
3888
                        'options' => [
3889
                            'route' => '/topic/:id',
3890
                            'constraints' => [
3891
                                'id' => '[A-Za-z0-9\-]+\=*'
3892
                            ],
3893
                            'defaults' => [
3894
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3895
                                'action' => 'getTopic'
570 stevensc 3896
                            ]
3897
                        ]
345 www 3898
                    ],
235 efrain 3899
                    'take-a-test' => [
3900
                        'type' => Segment::class,
3901
                        'options' => [
3902
                            'route' => '/take-a-test/:slide_id',
3903
                            'constraints' => [
570 stevensc 3904
                                'slide_id' => '[A-Za-z0-9\-]+\=*'
235 efrain 3905
                            ],
3906
                            'defaults' => [
570 stevensc 3907
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3908
                                'action' => 'takeTest'
3909
                            ]
235 efrain 3910
                        ],
570 stevensc 3911
                        'may_terminate' => true
235 efrain 3912
                    ],
119 efrain 3913
                    'capsules' => [
3914
                        'type' => Segment::class,
3915
                        'options' => [
3916
                            'route' => '/capsules/:topic_id',
3917
                            'constraints' => [
570 stevensc 3918
                                'topic_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3919
                            ],
3920
                            'defaults' => [
570 stevensc 3921
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3922
                                'action' => 'capsules'
3923
                            ]
161 efrain 3924
                        ],
570 stevensc 3925
                        'may_terminate' => true
119 efrain 3926
                    ],
585 stevensc 3927
                    'capsule' => [
161 efrain 3928
                        'type' => Segment::class,
3929
                        'options' => [
585 stevensc 3930
                            'route' => '/capsules/:id',
161 efrain 3931
                            'constraints' => [
570 stevensc 3932
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 3933
                            ],
3934
                            'defaults' => [
570 stevensc 3935
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3936
                                'action' => 'getCapsule'
161 efrain 3937
                            ],
570 stevensc 3938
                            'may_terminate' => true
3939
                        ]
161 efrain 3940
                    ],
119 efrain 3941
                    'slides' => [
3942
                        'type' => Segment::class,
3943
                        'options' => [
3944
                            'route' => '/slides/:topic_id/:capsule_id',
3945
                            'constraints' => [
570 stevensc 3946
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3947
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3948
                            ],
3949
                            'defaults' => [
570 stevensc 3950
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3951
                                'action' => 'slides'
3952
                            ]
161 efrain 3953
                        ],
570 stevensc 3954
                        'may_terminate' => true
119 efrain 3955
                    ],
591 stevensc 3956
                    'get-slide' => [
161 efrain 3957
                        'type' => Segment::class,
3958
                        'options' => [
590 stevensc 3959
                            'route' => '/slides/:id',
161 efrain 3960
                            'constraints' => [
570 stevensc 3961
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 3962
                            ],
3963
                            'defaults' => [
570 stevensc 3964
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3965
                                'action' => 'getSlide'
3966
                            ]
161 efrain 3967
                        ],
570 stevensc 3968
                        'may_terminate' => true
161 efrain 3969
                    ],
119 efrain 3970
                    'sync' => [
3971
                        'type' => Segment::class,
3972
                        'options' => [
649 stevensc 3973
                            'route' => '/sync/slide/:slide_uuid',
167 efrain 3974
                            'constraints' => [
570 stevensc 3975
                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
167 efrain 3976
                            ],
119 efrain 3977
                            'defaults' => [
570 stevensc 3978
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
657 stevensc 3979
                                'action' => 'markSlideCompleted'
570 stevensc 3980
                            ]
3981
                        ]
119 efrain 3982
                    ],
3983
                    'last-capsule-in-progress' => [
3984
                        'type' => Segment::class,
3985
                        'options' => [
3986
                            'route' => '/last-capsule-in-progress',
3987
                            'defaults' => [
570 stevensc 3988
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3989
                                'action' => 'lastCapsuleInProgress'
3990
                            ]
3991
                        ]
119 efrain 3992
                    ],
3993
                    'capsules-pending' => [
3994
                        'type' => Segment::class,
3995
                        'options' => [
3996
                            'route' => '/capsules-pending',
3997
                            'defaults' => [
570 stevensc 3998
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3999
                                'action' => 'capsulesPending'
4000
                            ]
4001
                        ]
119 efrain 4002
                    ],
4003
                    'capsules-completed' => [
4004
                        'type' => Segment::class,
4005
                        'options' => [
4006
                            'route' => '/capsules-completed',
4007
                            'defaults' => [
570 stevensc 4008
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4009
                                'action' => 'capsulesCompleted'
4010
                            ]
4011
                        ]
119 efrain 4012
                    ],
4013
                    'capsules-in-progress' => [
4014
                        'type' => Segment::class,
4015
                        'options' => [
4016
                            'route' => '/capsules-in-progress',
4017
                            'defaults' => [
570 stevensc 4018
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4019
                                'action' => 'capsulesInProgress'
4020
                            ]
4021
                        ]
119 efrain 4022
                    ],
4023
                    'capsules-comments' => [
4024
                        'type' => Segment::class,
4025
                        'options' => [
4026
                            'route' => '/capsules-comments/:capsule_id',
4027
                            'constraints' => [
570 stevensc 4028
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4029
                            ],
4030
                            'defaults' => [
570 stevensc 4031
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4032
                                'action' => 'capsuleComments'
4033
                            ]
119 efrain 4034
                        ],
4035
                        'may_terminate' => true,
4036
                        'child_routes' => [
4037
                            'add' => [
4038
                                'type' => Segment::class,
4039
                                'options' => [
4040
                                    'route' => '/add',
4041
                                    'defaults' => [
570 stevensc 4042
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4043
                                        'action' => 'capsuleAddMyComment'
4044
                                    ]
4045
                                ]
119 efrain 4046
                            ],
4047
                            'delete' => [
4048
                                'type' => Segment::class,
4049
                                'options' => [
4050
                                    'route' => '/delete/:comment_id',
4051
                                    'constraints' => [
570 stevensc 4052
                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4053
                                    ],
4054
                                    'defaults' => [
570 stevensc 4055
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4056
                                        'action' => 'capsuleDeleteMyComment'
4057
                                    ]
4058
                                ]
4059
                            ]
4060
                        ]
4061
                    ]
4062
 
119 efrain 4063
                    /*
345 www 4064
                 *
4065
                 * 'capsule' => [
4066
                 * 'type' => Segment::class,
4067
                 * 'options' => [
4068
                 * 'route' => '/capsule',
4069
                 * 'defaults' => [
570 stevensc 4070
                 * 'controller' => '\LeadersLinked\Controller\MicrolearningController',
345 www 4071
                 * 'action' => 'lastCapsuleInProgress'
4072
                 * ]
4073
                 * ]
4074
                 * ],
4075
                 *
4076
                 *
4077
                 * capsuleCommentsAction
4078
                 * capsuleDeleteMyCommentAction
4079
                 * capsuleAddMyCommentAction
4080
                 *
4081
                 */
570 stevensc 4082
                ]
314 www 4083
            ],
570 stevensc 4084
 
314 www 4085
            'services' => [
4086
                'type' => Literal::class,
4087
                'options' => [
4088
                    'route' => '/services',
4089
                    'defaults' => [
570 stevensc 4090
                        'controller' => '\LeadersLinked\Controller\ServiceController',
4091
                        'action' => 'index'
4092
                    ]
314 www 4093
                ],
4094
                'may_terminate' => true,
4095
                'child_routes' => [
4096
                    'device' => [
4097
                        'type' => Literal::class,
4098
                        'options' => [
4099
                            'route' => '/device',
4100
                            'defaults' => [
570 stevensc 4101
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4102
                                'action' => 'device'
4103
                            ]
4104
                        ]
314 www 4105
                    ],
4106
                    'fcm' => [
4107
                        'type' => Literal::class,
4108
                        'options' => [
4109
                            'route' => '/fcm',
4110
                            'defaults' => [
570 stevensc 4111
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4112
                                'action' => 'fcm'
4113
                            ]
4114
                        ]
314 www 4115
                    ],
4116
                    'signin' => [
4117
                        'type' => Literal::class,
4118
                        'options' => [
4119
                            'route' => '/signin',
4120
                            'defaults' => [
570 stevensc 4121
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4122
                                'action' => 'signin'
4123
                            ]
4124
                        ]
314 www 4125
                    ],
4126
                    'signout' => [
4127
                        'type' => Literal::class,
4128
                        'options' => [
4129
                            'route' => '/signout',
4130
                            'defaults' => [
570 stevensc 4131
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4132
                                'action' => 'signout'
4133
                            ]
4134
                        ]
4135
                    ]
4136
                ]
4137
            ]
4138
        ]
1 efrain 4139
    ],
4140
    'controllers' => [
4141
        'factories' => [
203 efrain 4142
            \LeadersLinked\Controller\AbuseReportController::class => \LeadersLinked\Factory\Controller\AbuseReportControllerFactory::class,
570 stevensc 4143
 
1 efrain 4144
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
4145
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4146
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4147
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
4148
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
4149
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
4150
            \LeadersLinked\Controller\DailyPulseController::class => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
4151
            \LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
4152
            \LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
4153
            \LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
4154
            \LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
4155
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
4156
            \LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
4157
            \LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
4158
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
4159
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
283 www 4160
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
1 efrain 4161
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
4162
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
119 efrain 4163
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
1 efrain 4164
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
4165
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
4166
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
4167
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4168
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4169
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4170
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
4171
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
345 www 4172
            // \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
1 efrain 4173
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
570 stevensc 4174
 
1 efrain 4175
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
4176
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4177
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4178
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
570 stevensc 4179
 
314 www 4180
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
570 stevensc 4181
 
302 www 4182
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4183
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4184
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4185
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
304 www 4186
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
345 www 4187
            \LeadersLinked\Controller\HabitSkillRegisterController::class => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
354 ariadna 4188
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
387 ariadna 4189
            \LeadersLinked\Controller\HabitReportController::class => \LeadersLinked\Factory\Controller\HabitReportControllerFactory::class,
494 ariadna 4190
            \LeadersLinked\Controller\RecruitmentPreAplicationController::class => \LeadersLinked\Factory\Controller\RecruitmentPreAplicationControllerFactory::class,
512 ariadna 4191
            \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class => \LeadersLinked\Factory\Controller\RecruitmentCreateJobDescriptionControllerFactory::class,
570 stevensc 4192
 
1 efrain 4193
        ],
4194
        'aliases' => [
570 stevensc 4195
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
4196
 
4197
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4198
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
4199
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4200
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
4201
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
4202
            '\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
4203
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
4204
            '\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
4205
            '\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
4206
            '\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
4207
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
4208
            '\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
4209
            '\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
4210
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
4211
            '\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
4212
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
4213
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
4214
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4215
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4216
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4217
 
4218
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
4219
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
4220
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4221
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4222
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4223
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4224
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4225
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
4226
 
4227
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
4228
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
4229
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
4230
 
4231
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
4232
 
4233
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4234
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4235
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4236
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4237
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4238
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4239
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4240
            '\LeadersLinked\Controller\HabitReportController' => \LeadersLinked\Controller\HabitReportController::class,
4241
            '\LeadersLinked\Controller\RecruitmentPreAplicationController' => \LeadersLinked\Controller\RecruitmentPreAplicationController::class,
4242
            '\LeadersLinked\Controller\RecruitmentCreateJobDescriptionController' => \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class,
4243
            // '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4244
            // '\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4245
        ]
1 efrain 4246
    ],
4247
    'laminas-cli' => [
4248
        'commands' => [
307 www 4249
            'process-scheduled-content' => \LeadersLinked\Command\ProcessScheduledContentCommand::class,
1 efrain 4250
            'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
4251
            'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
4252
            'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
4253
            'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
4254
            'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
4255
            'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
4256
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
4257
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
257 efrain 4258
            'check-external-credenditals' => \LeadersLinked\Command\CheckExternalCredentialsCommand::class,
283 www 4259
            'send-data-to-s3-command' => \LeadersLinked\Command\SendDataToS3Command::class,
290 www 4260
            'test-command' => \LeadersLinked\Command\TestCommand::class,
570 stevensc 4261
            'test-send-push' => \LeadersLinked\Command\TestSendPushCommand::class
4262
        ]
1 efrain 4263
    ],
345 www 4264
    'listeners' => [ // \LeadersLinked\Listener\CorsRequestListener::class,
72 efrain 4265
    ],
1 efrain 4266
    'service_manager' => [
4267
        'abstract_factories' => [
570 stevensc 4268
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
1 efrain 4269
        ],
4270
        'factories' => [
4271
            'RenderingStrategy' => function ($container) {
4272
                $translator = $container->get('MvcTranslator');
4273
                return new \LeadersLinked\View\RenderingStrategy($translator);
4274
            },
345 www 4275
            // 'corsRequestListener' => function ($container) {
4276
            //
4277
            // return new \LeadersLinked\Listener\CorsRequestListener();
4278
            // },
1 efrain 4279
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4280
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
570 stevensc 4281
 
1 efrain 4282
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
4283
            \LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
4284
            \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
570 stevensc 4285
 
1 efrain 4286
            \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
4287
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
4288
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
570 stevensc 4289
 
1 efrain 4290
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
570 stevensc 4291
 
1 efrain 4292
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
257 efrain 4293
            \LeadersLinked\Command\CheckExternalCredentialsCommand::class => \LeadersLinked\Factory\Command\CheckExternalCredentialsCommandFactory::class,
283 www 4294
            \LeadersLinked\Command\SendDataToS3Command::class => \LeadersLinked\Factory\Command\SendDataToS3CommandFactory::class,
570 stevensc 4295
 
307 www 4296
            \LeadersLinked\Command\ProcessScheduledContentCommand::class => \LeadersLinked\Factory\Command\ProcessScheduledContentCommandFactory::class,
570 stevensc 4297
 
290 www 4298
            \LeadersLinked\Command\TestCommand::class => \LeadersLinked\Factory\Command\TestCommandFactory::class,
570 stevensc 4299
            \LeadersLinked\Command\TestSendPushCommand::class => \LeadersLinked\Factory\Command\TestSendPushCommandFactory::class
1 efrain 4300
        ],
345 www 4301
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
570 stevensc 4302
        ]
1 efrain 4303
    ],
4304
    'controller_plugins' => [
4305
        'invokables' => [],
4306
        'factories' => [
4307
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
570 stevensc 4308
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class
1 efrain 4309
        ],
4310
        'aliases' => [
4311
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
570 stevensc 4312
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class
4313
        ]
1 efrain 4314
    ],
4315
    'view_manager' => [
4316
        'display_not_found_reason' => true,
4317
        'display_exceptions' => true,
4318
        'doctype' => 'HTML5',
4319
        'not_found_template' => 'error/404',
4320
        'exception_template' => 'error/index',
4321
        'template_map' => [
4322
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
4323
            'error/404' => __DIR__ . '/../view/error/404.phtml',
570 stevensc 4324
            'error/index' => __DIR__ . '/../view/error/index.phtml'
1 efrain 4325
        ],
4326
        'template_path_stack' => [
570 stevensc 4327
            __DIR__ . '/../view'
1 efrain 4328
        ],
4329
        'strategies' => [
4330
            'ViewJsonStrategy',
570 stevensc 4331
            'RenderingStrategy'
4332
        ]
387 ariadna 4333
    ],
1 efrain 4334
];