Proyectos de Subversion LeadersLinked - Services

Rev

Rev 731 | Rev 736 | 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' => [
721 stevensc 1152
                    'metadata' => [
1153
                        'type' => Literal::class,
1154
                        'options' => [
1155
                            'route' => '/metadata',
1156
                            'defaults' => [
1157
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1158
                                'action' => 'metadata'
1159
                            ]
1160
                        ]
1161
                    ],
1162
                    'list' => [
1163
                        'type' => Literal::class,
1164
                        'options' => [
1165
                            'route' => '/list',
1166
                            'defaults' => [
1167
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1168
                                'action' => 'list'
1169
                            ]
1170
                        ]
1171
                    ],
1 efrain 1172
                    'add' => [
1173
                        'type' => Literal::class,
1174
                        'options' => [
1175
                            'route' => '/add',
1176
                            'defaults' => [
570 stevensc 1177
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1178
                                'action' => 'add'
1179
                            ]
1180
                        ]
1 efrain 1181
                    ],
1182
                    'edit' => [
1183
                        'type' => Segment::class,
1184
                        'options' => [
1185
                            'route' => '/edit/:id',
1186
                            'constraints' => [
570 stevensc 1187
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1188
                            ],
1189
                            'defaults' => [
570 stevensc 1190
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1191
                                'action' => 'edit'
1192
                            ]
1193
                        ]
1 efrain 1194
                    ],
1195
                    'delete' => [
1196
                        'type' => Segment::class,
1197
                        'options' => [
1198
                            'route' => '/delete/:id',
1199
                            'constraints' => [
570 stevensc 1200
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1201
                            ],
1202
                            'defaults' => [
570 stevensc 1203
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1204
                                'action' => 'delete'
1205
                            ]
1206
                        ]
1 efrain 1207
                    ],
1208
                    'view' => [
1209
                        'type' => Segment::class,
1210
                        'options' => [
1211
                            'route' => '/view/:id',
1212
                            'constraints' => [
570 stevensc 1213
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1214
                            ],
1215
                            'defaults' => [
570 stevensc 1216
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1217
                                'action' => 'view'
1218
                            ]
1219
                        ]
1 efrain 1220
                    ],
242 efrain 1221
                    'reactions' => [
1222
                        'type' => Segment::class,
1223
                        'options' => [
1224
                            'route' => '/reactions/:id',
1225
                            'constraints' => [
570 stevensc 1226
                                'id' => '[A-Za-z0-9\-]+\=*'
242 efrain 1227
                            ],
1228
                            'defaults' => [
570 stevensc 1229
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1230
                                'action' => 'reactions'
1231
                            ]
1232
                        ]
242 efrain 1233
                    ],
1 efrain 1234
                    'comments' => [
1235
                        'type' => Segment::class,
1236
                        'options' => [
1237
                            'route' => '/comments/:id',
1238
                            'constraints' => [
570 stevensc 1239
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1240
                            ],
1241
                            'defaults' => [
570 stevensc 1242
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1243
                                'action' => 'comments'
1244
                            ]
1 efrain 1245
                        ],
1246
                        'may_terminate' => true,
1247
                        'child_routes' => [
1248
                            'add' => [
1249
                                'type' => Literal::class,
1250
                                'options' => [
1251
                                    'route' => '/add',
1252
                                    'defaults' => [
570 stevensc 1253
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1254
                                        'action' => 'addComment'
1255
                                    ]
1256
                                ]
1 efrain 1257
                            ],
1258
                            'delete' => [
1259
                                'type' => Segment::class,
1260
                                'options' => [
1261
                                    'route' => '/delete/:comment',
1262
                                    'constraints' => [
570 stevensc 1263
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 1264
                                    ],
1265
                                    'defaults' => [
570 stevensc 1266
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1267
                                        'action' => 'deleteComment'
1268
                                    ]
1269
                                ]
1270
                            ]
1271
                        ]
1 efrain 1272
                    ],
1273
                    'save-reaction' => [
1274
                        'type' => Segment::class,
1275
                        'options' => [
1276
                            'route' => '/save-reaction/:id',
1277
                            'constraints' => [
570 stevensc 1278
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1279
                            ],
1280
                            'defaults' => [
570 stevensc 1281
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1282
                                'action' => 'saveReaction'
1283
                            ]
1284
                        ]
1 efrain 1285
                    ],
1286
                    'delete-reaction' => [
1287
                        'type' => Segment::class,
1288
                        'options' => [
1289
                            'route' => '/delete-reaction/:id',
1290
                            'constraints' => [
570 stevensc 1291
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1292
                            ],
1293
                            'defaults' => [
570 stevensc 1294
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1295
                                'action' => 'deleteReaction'
1296
                            ]
1297
                        ]
1298
                    ]
1299
                ]
345 www 1300
            ],
570 stevensc 1301
 
1 efrain 1302
            'backend' => [
1303
                'type' => Literal::class,
1304
                'options' => [
1305
                    'route' => '/backend',
1306
                    'defaults' => [
570 stevensc 1307
                        'controller' => '\LeadersLinked\Controller\BackendController',
1308
                        'action' => 'index'
1309
                    ]
1 efrain 1310
                ],
1311
                'may_terminate' => true,
1312
                'child_routes' => [
1313
                    'signin-admin' => [
1314
                        'type' => Literal::class,
1315
                        'options' => [
1316
                            'route' => '/signin-admin',
1317
                            'defaults' => [
570 stevensc 1318
                                'controller' => '\LeadersLinked\Controller\BackendController',
1319
                                'action' => 'signinAdmin'
1320
                            ]
1321
                        ]
1 efrain 1322
                    ],
1323
                    'signin-company' => [
1324
                        'type' => Segment::class,
1325
                        'options' => [
1326
                            'route' => '/signin-company/:id[/relational/:relational/type/:type]',
1327
                            'constraints' => [
570 stevensc 1328
                                'id' => '[A-Za-z0-9\-]+\=*',
1329
                                'relational' => '[A-Za-z0-9\-]+\=*',
1330
                                'type' => '[A-Za-z0-9\-]+\=*'
1 efrain 1331
                            ],
1332
                            'defaults' => [
570 stevensc 1333
                                'controller' => '\LeadersLinked\Controller\BackendController',
1334
                                'action' => 'signinCompany'
1335
                            ]
1336
                        ]
1337
                    ]
1338
                ]
1 efrain 1339
            ],
1340
            'dashboard' => [
1341
                'type' => Segment::class,
1342
                'options' => [
255 efrain 1343
                    'route' => '/dashboard[/feed/:feed][/post/:post]',
1 efrain 1344
                    'constraints' => [
570 stevensc 1345
                        'feed' => '[A-Za-z0-9\-]+\=*',
1346
                        'post' => '[A-Za-z0-9\-]+\=*'
1 efrain 1347
                    ],
1348
                    'defaults' => [
570 stevensc 1349
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1350
                        'action' => 'index'
1351
                    ]
1352
                ]
1 efrain 1353
            ],
570 stevensc 1354
 
1 efrain 1355
            'paypal' => [
1356
                'type' => Literal::class,
1357
                'options' => [
1358
                    'route' => '/paypal',
1359
                    'defaults' => [
570 stevensc 1360
                        'controller' => '\LeadersLinked\Controller\PaypalController',
1361
                        'action' => 'index'
1362
                    ]
1 efrain 1363
                ],
1364
                'may_terminate' => true,
1365
                'child_routes' => [
1366
                    'success' => [
1367
                        'type' => Literal::class,
1368
                        'options' => [
1369
                            'route' => '/success',
1370
                            'defaults' => [
570 stevensc 1371
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1372
                                'action' => 'success'
1373
                            ]
1374
                        ]
1 efrain 1375
                    ],
1376
                    'cancel' => [
1377
                        'type' => Literal::class,
1378
                        'options' => [
1379
                            'route' => '/cancel',
1380
                            'defaults' => [
570 stevensc 1381
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1382
                                'action' => 'cancel'
1383
                            ]
1384
                        ]
1385
                    ]
1386
                ]
1 efrain 1387
            ],
1388
            'chat' => [
1389
                'type' => Literal::class,
1390
                'options' => [
1391
                    'route' => '/chat',
1392
                    'defaults' => [
570 stevensc 1393
                        'controller' => '\LeadersLinked\Controller\ChatController',
1394
                        'action' => 'index'
1395
                    ]
1 efrain 1396
                ],
1397
                'may_terminate' => true,
1398
                'child_routes' => [
570 stevensc 1399
                    // Inicio de los Routes del Chat //
1400
 
1 efrain 1401
                    'users' => [
1402
                        'type' => Literal::class,
1403
                        'options' => [
1404
                            'route' => '/users',
1405
                            'defaults' => [
570 stevensc 1406
                                'controller' => '\LeadersLinked\Controller\ChatController',
1407
                                'action' => 'users'
1408
                            ]
1409
                        ]
1 efrain 1410
                    ],
570 stevensc 1411
 
1 efrain 1412
                    'heart-beat' => [
1413
                        'type' => Literal::class,
1414
                        'options' => [
1415
                            'route' => '/heart-beat',
1416
                            'defaults' => [
570 stevensc 1417
                                'controller' => '\LeadersLinked\Controller\ChatController',
1418
                                'action' => 'heartBeat'
1419
                            ]
1420
                        ]
1 efrain 1421
                    ],
1422
                    'create-group' => [
1423
                        'type' => Literal::class,
1424
                        'options' => [
1425
                            'route' => '/create-group',
1426
                            'defaults' => [
570 stevensc 1427
                                'controller' => '\LeadersLinked\Controller\ChatController',
1428
                                'action' => 'createGroup'
1429
                            ]
1430
                        ]
1 efrain 1431
                    ],
1432
                    'zoom' => [
1433
                        'type' => Segment::class,
1434
                        'options' => [
1435
                            'route' => '/zoom/:id',
1436
                            'constraints' => [
570 stevensc 1437
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1438
                            ],
1439
                            'defaults' => [
570 stevensc 1440
                                'controller' => '\LeadersLinked\Controller\ChatController',
1441
                                'action' => 'zoom'
1442
                            ]
1443
                        ]
1 efrain 1444
                    ],
1445
                    'open-or-create' => [
1446
                        'type' => Segment::class,
1447
                        'options' => [
1448
                            'route' => '/open-or-create/:id',
1449
                            'constraints' => [
570 stevensc 1450
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1451
                            ],
1452
                            'defaults' => [
570 stevensc 1453
                                'controller' => '\LeadersLinked\Controller\ChatController',
1454
                                'action' => 'openOrCreate'
1455
                            ]
1456
                        ]
1 efrain 1457
                    ],
1458
                    'add-user-to-group' => [
1459
                        'type' => Segment::class,
1460
                        'options' => [
1461
                            'route' => '/add-user-to-group/:group_id',
1462
                            'constraints' => [
570 stevensc 1463
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1464
                            ],
1465
                            'defaults' => [
570 stevensc 1466
                                'controller' => '\LeadersLinked\Controller\ChatController',
1467
                                'action' => 'addUserToGroup'
1468
                            ]
1469
                        ]
1 efrain 1470
                    ],
1471
                    'mark-seen' => [
1472
                        'type' => Segment::class,
1473
                        'options' => [
1474
                            'route' => '/mark-seen/:id',
1475
                            'constraints' => [
570 stevensc 1476
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1477
                            ],
1478
                            'defaults' => [
570 stevensc 1479
                                'controller' => '\LeadersLinked\Controller\ChatController',
1480
                                'action' => 'markSeen'
1481
                            ]
1482
                        ]
1 efrain 1483
                    ],
1484
                    'mark-received' => [
1485
                        'type' => Segment::class,
1486
                        'options' => [
1487
                            'route' => '/mark-received/:id',
1488
                            'constraints' => [
570 stevensc 1489
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1490
                            ],
1491
                            'defaults' => [
570 stevensc 1492
                                'controller' => '\LeadersLinked\Controller\ChatController',
1493
                                'action' => 'markReceived'
1494
                            ]
1495
                        ]
1 efrain 1496
                    ],
1497
                    'remove-user-from-group' => [
1498
                        'type' => Segment::class,
1499
                        'options' => [
1500
                            'route' => '/remove-user-from-group/:group_id/:user_id',
1501
                            'constraints' => [
570 stevensc 1502
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1503
                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1504
                            ],
1505
                            'defaults' => [
570 stevensc 1506
                                'controller' => '\LeadersLinked\Controller\ChatController',
1507
                                'action' => 'removeUserFromGroup'
1508
                            ]
1509
                        ]
1 efrain 1510
                    ],
1511
                    'get-all-messages' => [
1512
                        'type' => Segment::class,
1513
                        'options' => [
1514
                            'route' => '/get-all-messages/:id',
1515
                            'constraints' => [
570 stevensc 1516
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1517
                            ],
1518
                            'defaults' => [
570 stevensc 1519
                                'controller' => '\LeadersLinked\Controller\ChatController',
1520
                                'action' => 'getAllMessages'
1521
                            ]
1522
                        ]
1 efrain 1523
                    ],
1524
                    'send' => [
1525
                        'type' => Segment::class,
1526
                        'options' => [
1527
                            'route' => '/send/:id',
1528
                            'constraints' => [
570 stevensc 1529
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1530
                            ],
1531
                            'defaults' => [
570 stevensc 1532
                                'controller' => '\LeadersLinked\Controller\ChatController',
1533
                                'action' => 'send'
1534
                            ]
1535
                        ]
1 efrain 1536
                    ],
1537
                    'get-contacts-availables-for-group' => [
1538
                        'type' => Segment::class,
1539
                        'options' => [
1540
                            'route' => '/get-contacts-availables-for-group/:group_id',
1541
                            'constraints' => [
570 stevensc 1542
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1543
                            ],
1544
                            'defaults' => [
570 stevensc 1545
                                'controller' => '\LeadersLinked\Controller\ChatController',
1546
                                'action' => 'contactAvailableGroupList'
1547
                            ]
1548
                        ]
1 efrain 1549
                    ],
1550
                    'get-contact-group-list' => [
1551
                        'type' => Segment::class,
1552
                        'options' => [
1553
                            'route' => '/get-contact-group-list/:group_id',
1554
                            'constraints' => [
570 stevensc 1555
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1556
                            ],
1557
                            'defaults' => [
570 stevensc 1558
                                'controller' => '\LeadersLinked\Controller\ChatController',
1559
                                'action' => 'contactGroupList'
1560
                            ]
1561
                        ]
1 efrain 1562
                    ],
1563
                    'leave-group' => [
1564
                        'type' => Segment::class,
1565
                        'options' => [
1566
                            'route' => '/leave-group/:group_id',
1567
                            'constraints' => [
570 stevensc 1568
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1569
                            ],
1570
                            'defaults' => [
570 stevensc 1571
                                'controller' => '\LeadersLinked\Controller\ChatController',
1572
                                'action' => 'leaveGroup'
1573
                            ]
1574
                        ]
1 efrain 1575
                    ],
1576
                    'delete-group' => [
1577
                        'type' => Segment::class,
1578
                        'options' => [
1579
                            'route' => '/delete-group/:group_id',
1580
                            'constraints' => [
570 stevensc 1581
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1582
                            ],
1583
                            'defaults' => [
570 stevensc 1584
                                'controller' => '\LeadersLinked\Controller\ChatController',
1585
                                'action' => 'deleteGroup'
1586
                            ]
1587
                        ]
1 efrain 1588
                    ],
1589
                    'open' => [
1590
                        'type' => Segment::class,
1591
                        'options' => [
1592
                            'route' => '/open/:id',
1593
                            'constraints' => [
570 stevensc 1594
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1595
                            ],
1596
                            'defaults' => [
570 stevensc 1597
                                'controller' => '\LeadersLinked\Controller\ChatController',
1598
                                'action' => 'open'
1599
                            ]
1600
                        ]
1 efrain 1601
                    ],
1602
                    'close' => [
1603
                        'type' => Segment::class,
1604
                        'options' => [
1605
                            'route' => '/close/:id',
1606
                            'constraints' => [
570 stevensc 1607
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1608
                            ],
1609
                            'defaults' => [
570 stevensc 1610
                                'controller' => '\LeadersLinked\Controller\ChatController',
1611
                                'action' => 'close'
1612
                            ]
1613
                        ]
1 efrain 1614
                    ],
1615
                    'clear' => [
1616
                        'type' => Segment::class,
1617
                        'options' => [
1618
                            'route' => '/clear/:id',
1619
                            'constraints' => [
570 stevensc 1620
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1621
                            ],
1622
                            'defaults' => [
570 stevensc 1623
                                'controller' => '\LeadersLinked\Controller\ChatController',
1624
                                'action' => 'clear'
1625
                            ]
1626
                        ]
1 efrain 1627
                    ],
1628
                    'upload' => [
1629
                        'type' => Segment::class,
1630
                        'options' => [
1631
                            'route' => '/upload/:id',
1632
                            'constraints' => [
570 stevensc 1633
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1634
                            ],
1635
                            'defaults' => [
570 stevensc 1636
                                'controller' => '\LeadersLinked\Controller\ChatController',
1637
                                'action' => 'upload'
1638
                            ]
1639
                        ]
1640
                    ]
1641
                ]
1 efrain 1642
            ],
1643
            'calendar' => [
1644
                'type' => Literal::class,
1645
                'options' => [
1646
                    'route' => '/calendar',
1647
                    'defaults' => [
570 stevensc 1648
                        'controller' => '\LeadersLinked\Controller\CalendarController',
1649
                        'action' => 'index'
1650
                    ]
1 efrain 1651
                ],
1652
                'may_terminate' => true,
1653
                'child_routes' => [
1654
                    'events' => [
1655
                        'type' => Segment::class,
1656
                        'options' => [
1657
                            'route' => '/events',
1658
                            /*'constraints' => [
570 stevensc 1659
                                'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 1660
                            ],*/
1661
                            'defaults' => [
570 stevensc 1662
                                'controller' => '\LeadersLinked\Controller\CalendarController',
1663
                                'action' => 'events'
1664
                            ]
1665
                        ]
1666
                    ]
1667
                ]
1 efrain 1668
            ],
570 stevensc 1669
 
1 efrain 1670
            /*
1671
            'zoom' => [
1672
                'type' => Literal::class,
1673
                'options' => [
1674
                    'route' => '/zoom',
1675
                    'defaults' => [
570 stevensc 1676
                        'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1677
                        'action' => 'index'
1678
                    ]
1679
                ],
1680
                'may_terminate' => true,
1681
                'child_routes' => [
1682
                    'add' => [
1683
                        'type' => Literal::class,
1684
                        'options' => [
1685
                            'route' => '/add',
1686
                            'defaults' => [
570 stevensc 1687
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1688
                                'action' => 'add'
1689
                            ]
1690
                        ]
1691
                    ],
1692
                    'delete' => [
1693
                        'type' => Segment::class,
1694
                        'options' => [
1695
                            'route' => '/delete/:id',
1696
                            'constraints' => [
570 stevensc 1697
                                'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 1698
                            ],
1699
                            'defaults' => [
570 stevensc 1700
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1701
                                'action' => 'delete'
1702
                            ]
1703
                        ]
1704
                    ],
1705
                    'listing' => [
1706
                        'type' => Literal::class,
1707
                        'options' => [
1708
                            'route' => '/listing',
1709
                            'defaults' => [
570 stevensc 1710
                                'controller' => '\LeadersLinked\Controller\ZoomController',
1 efrain 1711
                                'action' => 'listing'
1712
                            ]
1713
                        ]
1714
                    ],
570 stevensc 1715
                ]
1 efrain 1716
            ],*/
570 stevensc 1717
 
1 efrain 1718
            'inmail' => [
735 stevensc 1719
                'type' => Literal::class,
1 efrain 1720
                'options' => [
735 stevensc 1721
                    'route' => '/inmail',
1 efrain 1722
                    'defaults' => [
570 stevensc 1723
                        'controller' => '\LeadersLinked\Controller\InMailController',
696 stevensc 1724
                        'action' => 'index'
570 stevensc 1725
                    ]
1 efrain 1726
                ],
1727
                'may_terminate' => true,
1728
                'child_routes' => [
675 stevensc 1729
                    'messages' => [
679 stevensc 1730
                        'type' => Segment::class,
1 efrain 1731
                        'options' => [
700 stevensc 1732
                            'route' => '/messages/:uuid', // Route example: /inmail/messages/123e4567-e89b-12d3-a456-426614174000
679 stevensc 1733
                            'constraints' => [
698 stevensc 1734
                                'uuid' => '[A-Za-z0-9\-]+\=*'
679 stevensc 1735
                            ],
1 efrain 1736
                            'defaults' => [
570 stevensc 1737
                                'controller' => '\LeadersLinked\Controller\InMailController',
696 stevensc 1738
                                'action' => 'getMessages'
570 stevensc 1739
                            ]
1 efrain 1740
                        ],
699 stevensc 1741
                        'may_terminate' => true,
1742
                        'child_routes' => [
1743
                            'send' => [
706 stevensc 1744
                                'type' => Literal::class,
699 stevensc 1745
                                'options' => [
706 stevensc 1746
                                    'route' => '/send',
699 stevensc 1747
                                    'defaults' => [
1748
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1749
                                        'action' => 'sendMessage'
1750
                                    ]
1751
                                ]
1752
                            ],
1753
                            'delete' => [
706 stevensc 1754
                                'type' => Literal::class,
699 stevensc 1755
                                'options' => [
706 stevensc 1756
                                    'route' => '/delete',
699 stevensc 1757
                                    'defaults' => [
1758
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1759
                                        'action' => 'deleteMessage'
1760
                                    ]
1761
                                ]
1762
                            ]
1763
                        ]
570 stevensc 1764
                    ]
1765
                ]
1 efrain 1766
            ],
1767
            'connection' => [
1768
                'type' => Literal::class,
1769
                'options' => [
1770
                    'route' => '/connection',
1771
                    'defaults' => [
570 stevensc 1772
                        'controller' => '\LeadersLinked\Controller\ConnectionController',
1773
                        'action' => 'index'
1774
                    ]
1 efrain 1775
                ],
1776
                'may_terminate' => true,
1777
                'child_routes' => [
1778
                    'my-connections' => [
1779
                        'type' => Literal::class,
1780
                        'options' => [
1781
                            'route' => '/my-connections',
1782
                            'defaults' => [
570 stevensc 1783
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1784
                                'action' => 'myConnections'
1785
                            ]
1786
                        ]
1 efrain 1787
                    ],
1788
                    'people-you-may-know' => [
1789
                        'type' => Literal::class,
1790
                        'options' => [
1791
                            'route' => '/people-you-may-know',
1792
                            'defaults' => [
570 stevensc 1793
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1794
                                'action' => 'peopleYouMayKnow'
1795
                            ]
1796
                        ]
1 efrain 1797
                    ],
1798
                    'people-blocked' => [
1799
                        'type' => Literal::class,
1800
                        'options' => [
1801
                            'route' => '/people-blocked',
1802
                            'defaults' => [
570 stevensc 1803
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1804
                                'action' => 'peopleBlocked'
1805
                            ]
1806
                        ]
1 efrain 1807
                    ],
1808
                    'invitations-sent' => [
1809
                        'type' => Literal::class,
1810
                        'options' => [
1811
                            'route' => '/invitations-sent',
1812
                            'defaults' => [
570 stevensc 1813
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1814
                                'action' => 'invitationsSent'
1815
                            ]
1816
                        ]
1 efrain 1817
                    ],
1818
                    'invitations-received' => [
1819
                        'type' => Literal::class,
1820
                        'options' => [
1821
                            'route' => '/invitations-received',
1822
                            'defaults' => [
570 stevensc 1823
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1824
                                'action' => 'invitationsReceived'
1825
                            ]
1826
                        ]
1 efrain 1827
                    ],
1828
                    'block' => [
1829
                        'type' => Segment::class,
1830
                        'options' => [
1831
                            'route' => '/block/:id',
1832
                            'constraints' => [
570 stevensc 1833
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1834
                            ],
1835
                            'defaults' => [
570 stevensc 1836
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1837
                                'action' => 'block'
1838
                            ]
1839
                        ]
1 efrain 1840
                    ],
1841
                    'unblock' => [
1842
                        'type' => Segment::class,
1843
                        'options' => [
1844
                            'route' => '/unblock/:id',
1845
                            'constraints' => [
570 stevensc 1846
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1847
                            ],
1848
                            'defaults' => [
570 stevensc 1849
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1850
                                'action' => 'unblock'
1851
                            ]
1852
                        ]
1 efrain 1853
                    ],
1854
                    'cancel' => [
1855
                        'type' => Segment::class,
1856
                        'options' => [
1857
                            'route' => '/cancel/:id',
1858
                            'constraints' => [
570 stevensc 1859
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1860
                            ],
1861
                            'defaults' => [
570 stevensc 1862
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1863
                                'action' => 'cancel'
1864
                            ]
1865
                        ]
1 efrain 1866
                    ],
1867
                    'request' => [
1868
                        'type' => Segment::class,
1869
                        'options' => [
1870
                            'route' => '/request/:id',
1871
                            'constraints' => [
570 stevensc 1872
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1873
                            ],
1874
                            'defaults' => [
570 stevensc 1875
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1876
                                'action' => 'request'
1877
                            ]
1878
                        ]
1 efrain 1879
                    ],
1880
                    'approve' => [
1881
                        'type' => Segment::class,
1882
                        'options' => [
1883
                            'route' => '/approve/:id',
1884
                            'constraints' => [
570 stevensc 1885
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1886
                            ],
1887
                            'defaults' => [
570 stevensc 1888
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1889
                                'action' => 'approve'
1890
                            ]
1891
                        ]
1 efrain 1892
                    ],
1893
                    'reject' => [
1894
                        'type' => Segment::class,
1895
                        'options' => [
1896
                            'route' => '/reject/:id',
1897
                            'constraints' => [
570 stevensc 1898
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1899
                            ],
1900
                            'defaults' => [
570 stevensc 1901
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1902
                                'action' => 'reject'
1903
                            ]
1904
                        ]
1 efrain 1905
                    ],
1906
                    'delete' => [
1907
                        'type' => Segment::class,
1908
                        'options' => [
1909
                            'route' => '/delete/:id',
1910
                            'constraints' => [
570 stevensc 1911
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1912
                            ],
1913
                            'defaults' => [
570 stevensc 1914
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1915
                                'action' => 'delete'
1916
                            ]
1917
                        ]
1918
                    ]
1919
                ]
1 efrain 1920
            ],
1921
            'feed' => [
1922
                'type' => Literal::class,
1923
                'options' => [
1924
                    'route' => '/feed',
1925
                    'defaults' => [
570 stevensc 1926
                        'controller' => '\LeadersLinked\Controller\FeedController',
1927
                        'action' => 'index'
1928
                    ]
1 efrain 1929
                ],
1930
                'may_terminate' => true,
1931
                'child_routes' => [
1932
                    'timeline' => [
1933
                        'type' => Segment::class,
1934
                        'options' => [
1935
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1936
                            'constraints' => [
570 stevensc 1937
                                'id' => '[A-Za-z0-9\-]+\=*',
1938
                                'type' => 'user|company|group'
1 efrain 1939
                            ],
1940
                            'defaults' => [
570 stevensc 1941
                                'controller' => '\LeadersLinked\Controller\FeedController',
1942
                                'action' => 'timeline'
1943
                            ]
1944
                        ]
1 efrain 1945
                    ],
1946
                    'delete' => [
1947
                        'type' => Segment::class,
1948
                        'options' => [
1949
                            'route' => '/delete/:id',
1950
                            'constraints' => [
570 stevensc 1951
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1952
                            ],
1953
                            'defaults' => [
570 stevensc 1954
                                'controller' => '\LeadersLinked\Controller\FeedController',
1955
                                'action' => 'delete'
1956
                            ]
1957
                        ]
1 efrain 1958
                    ],
232 efrain 1959
                    'reactions' => [
1960
                        'type' => Segment::class,
1961
                        'options' => [
1962
                            'route' => '/reactions/:id',
1963
                            'constraints' => [
570 stevensc 1964
                                'id' => '[A-Za-z0-9\-]+\=*'
232 efrain 1965
                            ],
1966
                            'defaults' => [
570 stevensc 1967
                                'controller' => '\LeadersLinked\Controller\FeedController',
1968
                                'action' => 'reactions'
1969
                            ]
1970
                        ]
232 efrain 1971
                    ],
1 efrain 1972
                    'comment' => [
1973
                        'type' => Segment::class,
1974
                        'options' => [
1975
                            'route' => '/comment/:id',
1976
                            'constraints' => [
570 stevensc 1977
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 1978
                            ],
1979
                            'defaults' => [
570 stevensc 1980
                                'controller' => '\LeadersLinked\Controller\FeedController',
1981
                                'action' => 'comment'
1982
                            ]
1 efrain 1983
                        ],
1984
                        'may_terminate' => true,
1985
                        'child_routes' => [
1986
                            'delete' => [
1987
                                'type' => Segment::class,
1988
                                'options' => [
1989
                                    'route' => '/delete/:comment',
1990
                                    'constraints' => [
570 stevensc 1991
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1 efrain 1992
                                    ],
1993
                                    'defaults' => [
570 stevensc 1994
                                        'controller' => '\LeadersLinked\Controller\FeedController',
1995
                                        'action' => 'commentDelete'
1996
                                    ]
1997
                                ]
1998
                            ]
1999
                        ]
1 efrain 2000
                    ],
2001
                    'share' => [
2002
                        'type' => Segment::class,
2003
                        'options' => [
2004
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
2005
                            'constraints' => [
570 stevensc 2006
                                'id' => '[A-Za-z0-9\-]+\=*',
2007
                                'company_id' => '[A-Za-z0-9\-]+\=*',
2008
                                'group_id' => '[A-Za-z0-9\-]+\=*',
2009
                                'encoding' => 'base64'
1 efrain 2010
                            ],
2011
                            'defaults' => [
570 stevensc 2012
                                'controller' => '\LeadersLinked\Controller\FeedController',
2013
                                'action' => 'share'
2014
                            ]
2015
                        ]
1 efrain 2016
                    ],
2017
                    'save-reaction' => [
2018
                        'type' => Segment::class,
2019
                        'options' => [
2020
                            'route' => '/save-reaction/:id',
2021
                            'constraints' => [
570 stevensc 2022
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2023
                            ],
2024
                            'defaults' => [
570 stevensc 2025
                                'controller' => '\LeadersLinked\Controller\FeedController',
2026
                                'action' => 'saveReaction'
2027
                            ]
2028
                        ]
1 efrain 2029
                    ],
570 stevensc 2030
 
1 efrain 2031
                    'delete-reaction' => [
2032
                        'type' => Segment::class,
2033
                        'options' => [
2034
                            'route' => '/delete-reaction/:id',
2035
                            'constraints' => [
570 stevensc 2036
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2037
                            ],
2038
                            'defaults' => [
570 stevensc 2039
                                'controller' => '\LeadersLinked\Controller\FeedController',
2040
                                'action' => 'deleteReaction'
2041
                            ]
2042
                        ]
1 efrain 2043
                    ],
2044
                    'add' => [
2045
                        'type' => Segment::class,
2046
                        'options' => [
2047
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
2048
                            'constraints' => [
570 stevensc 2049
                                'company_id' => '[A-Za-z0-9\-]+\=*',
2050
                                'group_id' => '[A-Za-z0-9\-]+\=*',
2051
                                'encoding' => 'base64'
1 efrain 2052
                            ],
2053
                            'defaults' => [
570 stevensc 2054
                                'controller' => '\LeadersLinked\Controller\FeedController',
2055
                                'action' => 'add'
2056
                            ]
2057
                        ]
1 efrain 2058
                    ],
2059
                    'vote' => [
2060
                        'type' => Segment::class,
2061
                        'options' => [
2062
                            'route' => '/vote/:id',
2063
                            'constraints' => [
570 stevensc 2064
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2065
                            ],
2066
                            'defaults' => [
570 stevensc 2067
                                'controller' => '\LeadersLinked\Controller\FeedController',
2068
                                'action' => 'vote'
2069
                            ]
2070
                        ]
2071
                    ]
2072
                ]
1 efrain 2073
            ],
2074
            'job' => [
2075
                'type' => Literal::class,
2076
                'options' => [
2077
                    'route' => '/job',
2078
                    'defaults' => [
570 stevensc 2079
                        'controller' => '\LeadersLinked\Controller\JobController',
2080
                        'action' => 'index'
2081
                    ]
1 efrain 2082
                ],
2083
                'may_terminate' => true,
2084
                'child_routes' => [
2085
                    'view' => [
2086
                        'type' => Segment::class,
2087
                        'options' => [
2088
                            'route' => '/view/:id',
2089
                            'constraints' => [
570 stevensc 2090
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2091
                            ],
2092
                            'defaults' => [
570 stevensc 2093
                                'controller' => '\LeadersLinked\Controller\JobController',
2094
                                'action' => 'view'
2095
                            ]
2096
                        ]
1 efrain 2097
                    ],
2098
                    'apply-job' => [
2099
                        'type' => Segment::class,
2100
                        'options' => [
2101
                            'route' => '/apply-job/:id',
2102
                            'constraints' => [
570 stevensc 2103
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2104
                            ],
2105
                            'defaults' => [
570 stevensc 2106
                                'controller' => '\LeadersLinked\Controller\JobController',
2107
                                'action' => 'applyJob'
2108
                            ]
2109
                        ]
1 efrain 2110
                    ],
2111
                    'remove-apply-job' => [
2112
                        'type' => Segment::class,
2113
                        'options' => [
2114
                            'route' => '/remove-apply-job/:id',
2115
                            'constraints' => [
570 stevensc 2116
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2117
                            ],
2118
                            'defaults' => [
570 stevensc 2119
                                'controller' => '\LeadersLinked\Controller\JobController',
2120
                                'action' => 'removeApplyJob'
2121
                            ]
2122
                        ]
1 efrain 2123
                    ],
2124
                    'save-job' => [
2125
                        'type' => Segment::class,
2126
                        'options' => [
2127
                            'route' => '/save-job/:id',
2128
                            'constraints' => [
570 stevensc 2129
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2130
                            ],
2131
                            'defaults' => [
570 stevensc 2132
                                'controller' => '\LeadersLinked\Controller\JobController',
2133
                                'action' => 'saveJob'
2134
                            ]
2135
                        ]
1 efrain 2136
                    ],
2137
                    'remove-save-job' => [
2138
                        'type' => Segment::class,
2139
                        'options' => [
2140
                            'route' => '/remove-save-job/:id',
2141
                            'constraints' => [
570 stevensc 2142
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2143
                            ],
2144
                            'defaults' => [
570 stevensc 2145
                                'controller' => '\LeadersLinked\Controller\JobController',
2146
                                'action' => 'removeSaveJob'
2147
                            ]
2148
                        ]
1 efrain 2149
                    ],
2150
                    'applied-jobs' => [
2151
                        'type' => Literal::class,
2152
                        'options' => [
2153
                            'route' => '/applied-jobs',
2154
                            'defaults' => [
570 stevensc 2155
                                'controller' => '\LeadersLinked\Controller\JobController',
2156
                                'action' => 'appliedJobs'
2157
                            ]
2158
                        ]
1 efrain 2159
                    ],
2160
                    'saved-jobs' => [
2161
                        'type' => Literal::class,
2162
                        'options' => [
2163
                            'route' => '/saved-jobs',
2164
                            'defaults' => [
570 stevensc 2165
                                'controller' => '\LeadersLinked\Controller\JobController',
2166
                                'action' => 'savedJobs'
2167
                            ]
2168
                        ]
2169
                    ]
2170
                ]
1 efrain 2171
            ],
2172
            /*
2173
              'job' => [
2174
              'type' => Literal::class,
2175
              'options' => [
2176
              'route' => '/job',
2177
              'defaults' => [
570 stevensc 2178
              'controller' => '\LeadersLinked\Controller\JobController',
1 efrain 2179
              'action' => 'index'
2180
              ]
2181
              ],
2182
              'may_terminate' => true,
2183
              'child_routes' => [
2184
              'view' => [
2185
              'type' => Segment::class,
2186
              'options' => [
2187
              'route' => '/view/:id',
2188
              'constraints' => [
570 stevensc 2189
              'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2190
              ],
2191
              'defaults' => [
570 stevensc 2192
              'controller' => '\LeadersLinked\Controller\CompanyController',
1 efrain 2193
              'action' => 'job'
2194
              ]
2195
              ]
2196
              ],
2197
              ]
2198
              ],
2199
             */
2200
            'search' => [
2201
                'type' => Segment::class,
2202
                'options' => [
2203
                    'route' => '/search[/entity/:entity]',
2204
                    'constraints' => [
570 stevensc 2205
                        'entity' => 'user|company|group|job'
1 efrain 2206
                    ],
2207
                    'defaults' => [
570 stevensc 2208
                        'controller' => '\LeadersLinked\Controller\SearchController',
2209
                        'action' => 'index'
2210
                    ]
2211
                ]
1 efrain 2212
            ],
2213
            'group' => [
2214
                'type' => Literal::class,
2215
                'options' => [
2216
                    'route' => '/group',
2217
                    'defaults' => [
570 stevensc 2218
                        'controller' => '\LeadersLinked\GroupController',
2219
                        'action' => 'index'
2220
                    ]
1 efrain 2221
                ],
2222
                'may_terminate' => true,
2223
                'child_routes' => [
2224
                    'view' => [
2225
                        'type' => Segment::class,
2226
                        'options' => [
2227
                            'route' => '/view/:id',
2228
                            'constraints' => [
570 stevensc 2229
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2230
                            ],
2231
                            'defaults' => [
570 stevensc 2232
                                'controller' => '\LeadersLinked\Controller\GroupController',
2233
                                'action' => 'view'
2234
                            ]
2235
                        ]
1 efrain 2236
                    ],
2237
                    'request' => [
2238
                        'type' => Segment::class,
2239
                        'options' => [
2240
                            'route' => '/request/:id',
2241
                            'constraints' => [
570 stevensc 2242
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2243
                            ],
2244
                            'defaults' => [
570 stevensc 2245
                                'controller' => '\LeadersLinked\Controller\GroupController',
2246
                                'action' => 'request'
2247
                            ]
2248
                        ]
1 efrain 2249
                    ],
2250
                    'leave' => [
2251
                        'type' => Segment::class,
2252
                        'options' => [
2253
                            'route' => '/leave/:id',
2254
                            'constraints' => [
570 stevensc 2255
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2256
                            ],
2257
                            'defaults' => [
570 stevensc 2258
                                'controller' => '\LeadersLinked\Controller\GroupController',
2259
                                'action' => 'leave'
2260
                            ]
2261
                        ]
1 efrain 2262
                    ],
2263
                    'accept' => [
2264
                        'type' => Segment::class,
2265
                        'options' => [
2266
                            'route' => '/accept/:id',
2267
                            'constraints' => [
570 stevensc 2268
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2269
                            ],
2270
                            'defaults' => [
570 stevensc 2271
                                'controller' => '\LeadersLinked\Controller\GroupController',
2272
                                'action' => 'accept'
2273
                            ]
2274
                        ]
1 efrain 2275
                    ],
2276
                    'cancel' => [
2277
                        'type' => Segment::class,
2278
                        'options' => [
2279
                            'route' => '/cancel/:id',
2280
                            'constraints' => [
570 stevensc 2281
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2282
                            ],
2283
                            'defaults' => [
570 stevensc 2284
                                'controller' => '\LeadersLinked\Controller\GroupController',
2285
                                'action' => 'cancel'
2286
                            ]
2287
                        ]
1 efrain 2288
                    ],
2289
                    'reject' => [
2290
                        'type' => Segment::class,
2291
                        'options' => [
2292
                            'route' => '/reject/:id',
2293
                            'constraints' => [
570 stevensc 2294
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2295
                            ],
2296
                            'defaults' => [
570 stevensc 2297
                                'controller' => '\LeadersLinked\Controller\GroupController',
2298
                                'action' => 'reject'
2299
                            ]
2300
                        ]
1 efrain 2301
                    ],
2302
                    'joined-groups' => [
2303
                        'type' => Literal::class,
2304
                        'options' => [
2305
                            'route' => '/joined-groups',
2306
                            'defaults' => [
570 stevensc 2307
                                'controller' => '\LeadersLinked\Controller\GroupController',
2308
                                'action' => 'joinedGroups'
2309
                            ]
2310
                        ]
1 efrain 2311
                    ],
2312
                    'requests-sent' => [
2313
                        'type' => Literal::class,
2314
                        'options' => [
2315
                            'route' => '/requests-sent',
2316
                            'defaults' => [
570 stevensc 2317
                                'controller' => '\LeadersLinked\Controller\GroupController',
2318
                                'action' => 'requestsSent'
2319
                            ]
2320
                        ]
1 efrain 2321
                    ],
2322
                    'invitations-received' => [
2323
                        'type' => Literal::class,
2324
                        'options' => [
2325
                            'route' => '/invitations-received',
2326
                            'defaults' => [
570 stevensc 2327
                                'controller' => '\LeadersLinked\Controller\GroupController',
2328
                                'action' => 'invitationsReceived'
2329
                            ]
2330
                        ]
1 efrain 2331
                    ],
2332
                    'my-groups' => [
2333
                        'type' => Literal::class,
2334
                        'options' => [
2335
                            'route' => '/my-groups',
2336
                            'defaults' => [
570 stevensc 2337
                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2338
                                'action' => 'index'
2339
                            ]
1 efrain 2340
                        ],
2341
                        'may_terminate' => true,
2342
                        'child_routes' => [
2343
                            'add' => [
2344
                                'type' => Literal::class,
2345
                                'options' => [
2346
                                    'route' => '/add',
2347
                                    'defaults' => [
570 stevensc 2348
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2349
                                        'action' => 'add'
2350
                                    ]
2351
                                ]
1 efrain 2352
                            ],
2353
                            'edit' => [
2354
                                'type' => Segment::class,
2355
                                'options' => [
2356
                                    'route' => '/edit/:id',
2357
                                    'constraints' => [
570 stevensc 2358
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2359
                                    ],
2360
                                    'defaults' => [
570 stevensc 2361
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2362
                                        'action' => 'edit'
2363
                                    ]
2364
                                ]
1 efrain 2365
                            ],
2366
                            'delete' => [
2367
                                'type' => Segment::class,
2368
                                'options' => [
2369
                                    'route' => '/delete/:id',
2370
                                    'constraints' => [
570 stevensc 2371
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2372
                                    ],
2373
                                    'defaults' => [
570 stevensc 2374
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2375
                                        'action' => 'delete'
2376
                                    ]
2377
                                ]
1 efrain 2378
                            ],
2379
                            'extended' => [
2380
                                'type' => Segment::class,
2381
                                'options' => [
2382
                                    'route' => '/extended/:id',
2383
                                    'constraints' => [
570 stevensc 2384
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2385
                                    ],
2386
                                    'defaults' => [
570 stevensc 2387
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2388
                                        'action' => 'extended'
2389
                                    ]
2390
                                ]
1 efrain 2391
                            ],
2392
                            'image' => [
2393
                                'type' => Segment::class,
2394
                                'options' => [
2395
                                    'route' => '/image/:id/operation/:operation',
2396
                                    'constraints' => [
570 stevensc 2397
                                        'id' => '[A-Za-z0-9\-]+\=*',
2398
                                        'operation' => 'upload|delete'
1 efrain 2399
                                    ],
2400
                                    'defaults' => [
570 stevensc 2401
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2402
                                        'action' => 'image'
2403
                                    ]
2404
                                ]
1 efrain 2405
                            ],
2406
                            'cover' => [
2407
                                'type' => Segment::class,
2408
                                'options' => [
2409
                                    'route' => '/cover/:id/operation/:operation',
2410
                                    'constraints' => [
570 stevensc 2411
                                        'id' => '[A-Za-z0-9\-]+\=*',
2412
                                        'operation' => 'upload|delete'
1 efrain 2413
                                    ],
2414
                                    'defaults' => [
570 stevensc 2415
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2416
                                        'action' => 'cover'
2417
                                    ]
2418
                                ]
1 efrain 2419
                            ],
2420
                            'privacy' => [
2421
                                'type' => Segment::class,
2422
                                'options' => [
2423
                                    'route' => '/privacy/:id',
2424
                                    'constraints' => [
570 stevensc 2425
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2426
                                    ],
2427
                                    'defaults' => [
570 stevensc 2428
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2429
                                        'action' => 'privacy'
2430
                                    ]
2431
                                ]
1 efrain 2432
                            ],
2433
                            'website' => [
2434
                                'type' => Segment::class,
2435
                                'options' => [
2436
                                    'route' => '/website/:id',
2437
                                    'constraints' => [
570 stevensc 2438
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2439
                                    ],
2440
                                    'defaults' => [
570 stevensc 2441
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2442
                                        'action' => 'website'
2443
                                    ]
2444
                                ]
1 efrain 2445
                            ],
2446
                            'industry' => [
2447
                                'type' => Segment::class,
2448
                                'options' => [
2449
                                    'route' => '/industry/:id',
2450
                                    'constraints' => [
570 stevensc 2451
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2452
                                    ],
2453
                                    'defaults' => [
570 stevensc 2454
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2455
                                        'action' => 'industry'
2456
                                    ]
2457
                                ]
1 efrain 2458
                            ],
2459
                            'accessibility' => [
2460
                                'type' => Segment::class,
2461
                                'options' => [
2462
                                    'route' => '/accessibility/:id',
2463
                                    'constraints' => [
570 stevensc 2464
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2465
                                    ],
2466
                                    'defaults' => [
570 stevensc 2467
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2468
                                        'action' => 'accessibility'
2469
                                    ]
2470
                                ]
1 efrain 2471
                            ],
2472
                            'type' => [
2473
                                'type' => Segment::class,
2474
                                'options' => [
2475
                                    'route' => '/type/:id',
2476
                                    'constraints' => [
570 stevensc 2477
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2478
                                    ],
2479
                                    'defaults' => [
570 stevensc 2480
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2481
                                        'action' => 'type'
2482
                                    ]
2483
                                ]
1 efrain 2484
                            ],
2485
                            'status' => [
2486
                                'type' => Segment::class,
2487
                                'options' => [
2488
                                    'route' => '/status/:id',
2489
                                    'constraints' => [
570 stevensc 2490
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2491
                                    ],
2492
                                    'defaults' => [
570 stevensc 2493
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2494
                                        'action' => 'status'
2495
                                    ]
2496
                                ]
1 efrain 2497
                            ],
2498
                            'members' => [
2499
                                'type' => Segment::class,
2500
                                'options' => [
2501
                                    'route' => '/members/:id',
2502
                                    'constraints' => [
570 stevensc 2503
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2504
                                    ],
2505
                                    'defaults' => [
570 stevensc 2506
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2507
                                        'action' => 'members'
2508
                                    ]
1 efrain 2509
                                ],
2510
                                'may_terminate' => true,
2511
                                'child_routes' => [
2512
                                    'invite' => [
2513
                                        'type' => Segment::class,
2514
                                        'options' => [
2515
                                            'route' => '/invite/:user_id',
2516
                                            'constraints' => [
570 stevensc 2517
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2518
                                            ],
2519
                                            'defaults' => [
570 stevensc 2520
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2521
                                                'action' => 'invite'
2522
                                            ]
2523
                                        ]
1 efrain 2524
                                    ],
2525
                                    'approve' => [
2526
                                        'type' => Segment::class,
2527
                                        'options' => [
2528
                                            'route' => '/approve/:user_id',
2529
                                            'constraints' => [
570 stevensc 2530
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2531
                                            ],
2532
                                            'defaults' => [
570 stevensc 2533
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2534
                                                'action' => 'approve'
2535
                                            ]
2536
                                        ]
1 efrain 2537
                                    ],
2538
                                    'reject' => [
2539
                                        'type' => Segment::class,
2540
                                        'options' => [
2541
                                            'route' => '/reject/:user_id',
2542
                                            'constraints' => [
570 stevensc 2543
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2544
                                            ],
2545
                                            'defaults' => [
570 stevensc 2546
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2547
                                                'action' => 'reject'
2548
                                            ]
2549
                                        ]
1 efrain 2550
                                    ],
2551
                                    'cancel' => [
2552
                                        'type' => Segment::class,
2553
                                        'options' => [
2554
                                            'route' => '/cancel/:user_id',
2555
                                            'constraints' => [
570 stevensc 2556
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2557
                                            ],
2558
                                            'defaults' => [
570 stevensc 2559
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2560
                                                'action' => 'cancel'
2561
                                            ]
2562
                                        ]
2563
                                    ]
2564
                                ]
2565
                            ]
2566
                        ]
2567
                    ]
2568
                ]
1 efrain 2569
            ],
2570
            'profile' => [
2571
                'type' => Literal::class,
2572
                'options' => [
2573
                    'route' => '/profile',
2574
                    'defaults' => [
570 stevensc 2575
                        'controller' => '\LeadersLinked\ControllerProfileController',
2576
                        'action' => 'index'
2577
                    ]
1 efrain 2578
                ],
2579
                'may_terminate' => true,
2580
                'child_routes' => [
570 stevensc 2581
 
1 efrain 2582
                    'people-viewed-profile' => [
2583
                        'type' => Literal::class,
2584
                        'options' => [
2585
                            'route' => '/people-viewed-profile',
2586
                            'defaults' => [
570 stevensc 2587
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2588
                                'action' => 'peopleViewedProfile'
2589
                            ]
2590
                        ]
1 efrain 2591
                    ],
2592
                    'view' => [
2593
                        'type' => Segment::class,
2594
                        'options' => [
2595
                            'route' => '/view/:id',
2596
                            'constraints' => [
570 stevensc 2597
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2598
                            ],
2599
                            'defaults' => [
570 stevensc 2600
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2601
                                'action' => 'view'
2602
                            ]
2603
                        ]
1 efrain 2604
                    ],
2605
                    'self-evaluation' => [
2606
                        'type' => Literal::class,
2607
                        'options' => [
2608
                            'route' => '/self-evaluation',
2609
                            'defaults' => [
570 stevensc 2610
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2611
                                'action' => 'index'
2612
                            ]
1 efrain 2613
                        ],
2614
                        'may_terminate' => true,
2615
                        'child_routes' => [
2616
                            'take-a-test' => [
2617
                                'type' => Segment::class,
2618
                                'options' => [
2619
                                    'route' => '/take-a-test/:id',
2620
                                    'constraints' => [
570 stevensc 2621
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2622
                                    ],
2623
                                    'defaults' => [
570 stevensc 2624
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2625
                                        'action' => 'takeaTest'
2626
                                    ]
2627
                                ]
1 efrain 2628
                            ],
2629
                            'report' => [
2630
                                'type' => Segment::class,
2631
                                'options' => [
2632
                                    'route' => '/report/:id',
2633
                                    'constraints' => [
570 stevensc 2634
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2635
                                    ],
2636
                                    'defaults' => [
570 stevensc 2637
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2638
                                        'action' => 'report'
2639
                                    ]
2640
                                ]
2641
                            ]
2642
                        ]
1 efrain 2643
                    ],
2644
                    'performance-evaluation' => [
2645
                        'type' => Literal::class,
2646
                        'options' => [
2647
                            'route' => '/performance-evaluation',
2648
                            'defaults' => [
570 stevensc 2649
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2650
                                'action' => 'index'
2651
                            ]
1 efrain 2652
                        ],
2653
                        'may_terminate' => true,
2654
                        'child_routes' => [
2655
                            'take-a-test' => [
2656
                                'type' => Segment::class,
2657
                                'options' => [
2658
                                    'route' => '/take-a-test/:id',
2659
                                    'constraints' => [
570 stevensc 2660
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2661
                                    ],
2662
                                    'defaults' => [
570 stevensc 2663
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2664
                                        'action' => 'takeaTest'
2665
                                    ]
2666
                                ]
1 efrain 2667
                            ],
2668
                            'report' => [
2669
                                'type' => Segment::class,
2670
                                'options' => [
2671
                                    'route' => '/report/:id',
2672
                                    'constraints' => [
570 stevensc 2673
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2674
                                    ],
2675
                                    'defaults' => [
570 stevensc 2676
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2677
                                        'action' => 'report'
2678
                                    ]
2679
                                ]
2680
                            ]
2681
                        ]
1 efrain 2682
                    ],
2683
                    'my-profiles' => [
2684
                        'type' => Literal::class,
2685
                        'options' => [
2686
                            'route' => '/my-profiles',
2687
                            'defaults' => [
570 stevensc 2688
                                'controller' => '\LeadersLinked\Controller\MyProfilesController',
2689
                                'action' => 'index'
2690
                            ]
1 efrain 2691
                        ],
2692
                        'may_terminate' => true,
2693
                        'child_routes' => [
2694
                            'add' => [
2695
                                'type' => Literal::class,
2696
                                'options' => [
2697
                                    'route' => '/add',
2698
                                    'defaults' => [
570 stevensc 2699
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2700
                                        'action' => 'add'
2701
                                    ]
2702
                                ]
1 efrain 2703
                            ],
2704
                            'edit' => [
2705
                                'type' => Segment::class,
2706
                                'options' => [
2707
                                    'route' => '/edit/:id',
2708
                                    'constraints' => [
570 stevensc 2709
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2710
                                    ],
2711
                                    'defaults' => [
570 stevensc 2712
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2713
                                        'action' => 'edit'
2714
                                    ]
2715
                                ]
1 efrain 2716
                            ],
2717
                            'delete' => [
2718
                                'type' => Segment::class,
2719
                                'options' => [
2720
                                    'route' => '/delete/:id',
2721
                                    'constraints' => [
570 stevensc 2722
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2723
                                    ],
2724
                                    'defaults' => [
570 stevensc 2725
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2726
                                        'action' => 'delete'
2727
                                    ]
2728
                                ]
1 efrain 2729
                            ],
2730
                            'extended' => [
2731
                                'type' => Segment::class,
2732
                                'options' => [
2733
                                    'route' => '/extended/:id',
2734
                                    'constraints' => [
570 stevensc 2735
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2736
                                    ],
2737
                                    'defaults' => [
570 stevensc 2738
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2739
                                        'action' => 'extended'
2740
                                    ]
2741
                                ]
1 efrain 2742
                            ],
2743
                            'image' => [
2744
                                'type' => Segment::class,
2745
                                'options' => [
2746
                                    'route' => '/image/:id/operation/:operation',
2747
                                    'constraints' => [
570 stevensc 2748
                                        'id' => '[A-Za-z0-9\-]+\=*',
2749
                                        'operation' => 'upload|delete'
1 efrain 2750
                                    ],
2751
                                    'defaults' => [
570 stevensc 2752
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2753
                                        'action' => 'image'
2754
                                    ]
2755
                                ]
1 efrain 2756
                            ],
2757
                            'cover' => [
2758
                                'type' => Segment::class,
2759
                                'options' => [
2760
                                    'route' => '/cover/:id/operation/:operation',
2761
                                    'constraints' => [
570 stevensc 2762
                                        'id' => '[A-Za-z0-9\-]+\=*',
2763
                                        'operation' => 'upload|delete'
1 efrain 2764
                                    ],
2765
                                    'defaults' => [
570 stevensc 2766
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2767
                                        'action' => 'cover'
2768
                                    ]
2769
                                ]
1 efrain 2770
                            ],
2771
                            'experience' => [
2772
                                'type' => Segment::class,
2773
                                'options' => [
2774
                                    'route' => '/experience/:id/operation/:operation[/:user_experience_id]',
2775
                                    'constraints' => [
570 stevensc 2776
                                        'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 2777
                                        'operation' => 'add|edit|delete',
570 stevensc 2778
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2779
                                    ],
2780
                                    'defaults' => [
570 stevensc 2781
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2782
                                        'action' => 'experience'
2783
                                    ]
2784
                                ]
1 efrain 2785
                            ],
2786
                            'education' => [
2787
                                'type' => Segment::class,
2788
                                'options' => [
2789
                                    'route' => '/education/:id/operation/:operation[/:user_education_id]',
2790
                                    'constraints' => [
570 stevensc 2791
                                        'id' => '[A-Za-z0-9\-]+\=*',
1 efrain 2792
                                        'operation' => 'add|edit|delete',
570 stevensc 2793
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2794
                                    ],
2795
                                    'defaults' => [
570 stevensc 2796
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2797
                                        'action' => 'education'
2798
                                    ]
2799
                                ]
1 efrain 2800
                            ],
2801
                            'language' => [
2802
                                'type' => Segment::class,
2803
                                'options' => [
2804
                                    'route' => '/language/:id',
2805
                                    'constraints' => [
570 stevensc 2806
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2807
                                    ],
2808
                                    'defaults' => [
570 stevensc 2809
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2810
                                        'action' => 'language'
2811
                                    ]
2812
                                ]
1 efrain 2813
                            ],
2814
                            'location' => [
2815
                                'type' => Segment::class,
2816
                                'options' => [
2817
                                    'route' => '/location/:id',
2818
                                    'constraints' => [
570 stevensc 2819
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2820
                                    ],
2821
                                    'defaults' => [
570 stevensc 2822
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2823
                                        'action' => 'location'
2824
                                    ]
2825
                                ]
1 efrain 2826
                            ],
2827
                            'skill' => [
2828
                                'type' => Segment::class,
2829
                                'options' => [
2830
                                    'route' => '/skill/:id',
2831
                                    'constraints' => [
570 stevensc 2832
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2833
                                    ],
2834
                                    'defaults' => [
570 stevensc 2835
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2836
                                        'action' => 'skill'
2837
                                    ]
2838
                                ]
1 efrain 2839
                            ],
2840
                            'social-network' => [
2841
                                'type' => Segment::class,
2842
                                'options' => [
2843
                                    'route' => '/social-network/:id',
2844
                                    'constraints' => [
570 stevensc 2845
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2846
                                    ],
2847
                                    'defaults' => [
570 stevensc 2848
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2849
                                        'action' => 'socialNetwork'
2850
                                    ]
2851
                                ]
1 efrain 2852
                            ],
2853
                            'aptitude' => [
2854
                                'type' => Segment::class,
2855
                                'options' => [
2856
                                    'route' => '/aptitude/:id',
2857
                                    'constraints' => [
570 stevensc 2858
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2859
                                    ],
2860
                                    'defaults' => [
570 stevensc 2861
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2862
                                        'action' => 'aptitude'
2863
                                    ]
2864
                                ]
1 efrain 2865
                            ],
2866
                            'hobby-and-interest' => [
2867
                                'type' => Segment::class,
2868
                                'options' => [
2869
                                    'route' => '/hobby-and-interest/:id',
2870
                                    'constraints' => [
570 stevensc 2871
                                        'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2872
                                    ],
2873
                                    'defaults' => [
570 stevensc 2874
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2875
                                        'action' => 'hobbyAndInterest'
2876
                                    ]
2877
                                ]
2878
                            ]
2879
                        ]
2880
                    ]
2881
                ]
1 efrain 2882
            ],
2883
            'company' => [
2884
                'type' => Literal::class,
2885
                'options' => [
2886
                    'route' => '/company',
2887
                    'defaults' => [
570 stevensc 2888
                        'controller' => '\LeadersLinked\Controller\CompanyController',
2889
                        'action' => 'index'
2890
                    ]
1 efrain 2891
                ],
2892
                'may_terminate' => true,
2893
                'child_routes' => [
2894
                    'view' => [
2895
                        'type' => Segment::class,
2896
                        'options' => [
2897
                            'route' => '/view/:id',
2898
                            'constraints' => [
570 stevensc 2899
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2900
                            ],
2901
                            'defaults' => [
570 stevensc 2902
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2903
                                'action' => 'view'
2904
                            ]
2905
                        ]
1 efrain 2906
                    ],
2907
                    'follow' => [
2908
                        'type' => Segment::class,
2909
                        'options' => [
2910
                            'route' => '/follow/:id',
2911
                            'constraints' => [
570 stevensc 2912
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2913
                            ],
2914
                            'defaults' => [
570 stevensc 2915
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2916
                                'action' => 'follow'
2917
                            ]
2918
                        ]
1 efrain 2919
                    ],
2920
                    'unfollow' => [
2921
                        'type' => Segment::class,
2922
                        'options' => [
2923
                            'route' => '/unfollow/:id',
2924
                            'constraints' => [
570 stevensc 2925
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2926
                            ],
2927
                            'defaults' => [
570 stevensc 2928
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2929
                                'action' => 'unfollow'
2930
                            ]
2931
                        ]
1 efrain 2932
                    ],
2933
                    'request' => [
2934
                        'type' => Segment::class,
2935
                        'options' => [
2936
                            'route' => '/request/:id',
2937
                            'constraints' => [
570 stevensc 2938
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2939
                            ],
2940
                            'defaults' => [
570 stevensc 2941
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2942
                                'action' => 'request'
2943
                            ]
2944
                        ]
1 efrain 2945
                    ],
2946
                    'accept' => [
2947
                        'type' => Segment::class,
2948
                        'options' => [
2949
                            'route' => '/accept/:id',
2950
                            'constraints' => [
570 stevensc 2951
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2952
                            ],
2953
                            'defaults' => [
570 stevensc 2954
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2955
                                'action' => 'accept'
2956
                            ]
2957
                        ]
1 efrain 2958
                    ],
2959
                    'cancel' => [
2960
                        'type' => Segment::class,
2961
                        'options' => [
2962
                            'route' => '/cancel/:id',
2963
                            'constraints' => [
570 stevensc 2964
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2965
                            ],
2966
                            'defaults' => [
570 stevensc 2967
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2968
                                'action' => 'cancel'
2969
                            ]
2970
                        ]
1 efrain 2971
                    ],
2972
                    'reject' => [
2973
                        'type' => Segment::class,
2974
                        'options' => [
2975
                            'route' => '/reject/:id',
2976
                            'constraints' => [
570 stevensc 2977
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2978
                            ],
2979
                            'defaults' => [
570 stevensc 2980
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2981
                                'action' => 'reject'
2982
                            ]
2983
                        ]
1 efrain 2984
                    ],
2985
                    'leave' => [
2986
                        'type' => Segment::class,
2987
                        'options' => [
2988
                            'route' => '/leave/:id',
2989
                            'constraints' => [
570 stevensc 2990
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 2991
                            ],
2992
                            'defaults' => [
570 stevensc 2993
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2994
                                'action' => 'leave'
2995
                            ]
2996
                        ]
1 efrain 2997
                    ],
2998
                    'following-companies' => [
2999
                        'type' => Literal::class,
3000
                        'options' => [
3001
                            'route' => '/following-companies',
3002
                            'defaults' => [
570 stevensc 3003
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3004
                                'action' => 'followingCompanies'
3005
                            ]
3006
                        ]
1 efrain 3007
                    ],
3008
                    'requests-sent' => [
3009
                        'type' => Literal::class,
3010
                        'options' => [
3011
                            'route' => '/requests-sent',
3012
                            'defaults' => [
570 stevensc 3013
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3014
                                'action' => 'requestsSent'
3015
                            ]
1 efrain 3016
                        ],
570 stevensc 3017
                        'may_terminate' => true
1 efrain 3018
                    ],
3019
                    'invitations-received' => [
3020
                        'type' => Literal::class,
3021
                        'options' => [
3022
                            'route' => '/invitations-received',
3023
                            'defaults' => [
570 stevensc 3024
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3025
                                'action' => 'invitationsReceived'
3026
                            ]
1 efrain 3027
                        ],
570 stevensc 3028
                        'may_terminate' => true
1 efrain 3029
                    ],
3030
                    'i-work-with' => [
3031
                        'type' => Literal::class,
3032
                        'options' => [
3033
                            'route' => '/i-work-with',
3034
                            'defaults' => [
570 stevensc 3035
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3036
                                'action' => 'iWorkWith'
3037
                            ]
1 efrain 3038
                        ],
570 stevensc 3039
                        'may_terminate' => true
1 efrain 3040
                    ],
3041
                    'my-companies' => [
3042
                        'type' => Literal::class,
3043
                        'options' => [
3044
                            'route' => '/my-companies',
3045
                            'defaults' => [
570 stevensc 3046
                                'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3047
                                'action' => 'index'
3048
                            ]
1 efrain 3049
                        ],
3050
                        'may_terminate' => true,
3051
                        'child_routes' => [
3052
                            'add' => [
3053
                                'type' => Literal::class,
3054
                                'options' => [
3055
                                    'route' => '/add',
3056
                                    'defaults' => [
570 stevensc 3057
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3058
                                        'action' => 'add'
3059
                                    ]
3060
                                ]
3061
                            ]
3062
                        ]
3063
                    ]
3064
                ]
1 efrain 3065
            ],
3066
            'account-settings' => [
3067
                'type' => Literal::class,
3068
                'options' => [
3069
                    'route' => '/account-settings',
3070
                    'defaults' => [
570 stevensc 3071
                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3072
                        'action' => 'index'
3073
                    ]
1 efrain 3074
                ],
3075
                'may_terminate' => true,
3076
                'child_routes' => [
3077
                    'image' => [
3078
                        'type' => Segment::class,
3079
                        'options' => [
3080
                            'route' => '/image/:operation',
3081
                            'cconstraints' => [
570 stevensc 3082
                                'operation' => 'upload|delete'
1 efrain 3083
                            ],
3084
                            'defaults' => [
570 stevensc 3085
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
1 efrain 3086
                                'action' => 'image',
570 stevensc 3087
                                'operation' => 'upload'
3088
                            ]
3089
                        ]
1 efrain 3090
                    ],
3091
                    'deactivate' => [
3092
                        'type' => Literal::class,
3093
                        'options' => [
3094
                            'route' => '/deactivate',
3095
                            'defaults' => [
570 stevensc 3096
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3097
                                'action' => 'deactivate'
3098
                            ]
3099
                        ]
1 efrain 3100
                    ],
3101
                    'notifications' => [
3102
                        'type' => Literal::class,
3103
                        'options' => [
3104
                            'route' => '/notification',
3105
                            'defaults' => [
570 stevensc 3106
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3107
                                'action' => 'notification'
3108
                            ]
3109
                        ]
1 efrain 3110
                    ],
3111
                    'password' => [
3112
                        'type' => Literal::class,
3113
                        'options' => [
3114
                            'route' => '/password',
3115
                            'defaults' => [
570 stevensc 3116
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3117
                                'action' => 'password'
3118
                            ]
3119
                        ]
1 efrain 3120
                    ],
3121
                    'add-facebook' => [
3122
                        'type' => Literal::class,
3123
                        'options' => [
3124
                            'route' => '/add-facebook',
3125
                            'defaults' => [
570 stevensc 3126
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3127
                                'action' => 'addFacebook'
3128
                            ]
3129
                        ]
1 efrain 3130
                    ],
3131
                    'remove-facebook' => [
3132
                        'type' => Literal::class,
3133
                        'options' => [
3134
                            'route' => '/remove-facebook',
3135
                            'defaults' => [
570 stevensc 3136
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3137
                                'action' => 'removeFacebook'
3138
                            ]
3139
                        ]
1 efrain 3140
                    ],
3141
                    'add-twitter' => [
3142
                        'type' => Literal::class,
3143
                        'options' => [
3144
                            'route' => '/add-twitter',
3145
                            'defaults' => [
570 stevensc 3146
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3147
                                'action' => 'addTwitter'
3148
                            ]
3149
                        ]
1 efrain 3150
                    ],
3151
                    'remove-twitter' => [
3152
                        'type' => Literal::class,
3153
                        'options' => [
3154
                            'route' => '/remove-twitter',
3155
                            'defaults' => [
570 stevensc 3156
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3157
                                'action' => 'removeTwitter'
3158
                            ]
3159
                        ]
1 efrain 3160
                    ],
3161
                    'add-google' => [
3162
                        'type' => Literal::class,
3163
                        'options' => [
3164
                            'route' => '/add-google',
3165
                            'defaults' => [
570 stevensc 3166
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3167
                                'action' => 'addGoogle'
3168
                            ]
3169
                        ]
1 efrain 3170
                    ],
3171
                    'remove-google' => [
3172
                        'type' => Literal::class,
3173
                        'options' => [
3174
                            'route' => '/remove-google',
3175
                            'defaults' => [
570 stevensc 3176
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3177
                                'action' => 'removeGoogle'
3178
                            ]
3179
                        ]
1 efrain 3180
                    ],
3181
                    'location' => [
3182
                        'type' => Literal::class,
3183
                        'options' => [
3184
                            'route' => '/location',
3185
                            'defaults' => [
570 stevensc 3186
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3187
                                'action' => 'location'
3188
                            ]
3189
                        ]
1 efrain 3190
                    ],
3191
                    'privacy' => [
3192
                        'type' => Literal::class,
3193
                        'options' => [
3194
                            'route' => '/privacy',
3195
                            'defaults' => [
570 stevensc 3196
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3197
                                'action' => 'privacy'
3198
                            ]
3199
                        ]
1 efrain 3200
                    ],
3201
                    'basic' => [
3202
                        'type' => Literal::class,
3203
                        'options' => [
3204
                            'route' => '/basic',
3205
                            'defaults' => [
570 stevensc 3206
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3207
                                'action' => 'basic'
3208
                            ]
3209
                        ]
1 efrain 3210
                    ],
3211
                    'transactions' => [
3212
                        'type' => Literal::class,
3213
                        'options' => [
3214
                            'route' => '/transactions',
3215
                            'defaults' => [
570 stevensc 3216
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3217
                                'action' => 'transactions'
3218
                            ]
1 efrain 3219
                        ],
3220
                        'may_terminate' => true,
3221
                        'child_routes' => [
3222
                            'add-funds' => [
3223
                                'type' => Literal::class,
3224
                                'options' => [
3225
                                    'route' => '/add-funds',
3226
                                    'defaults' => [
570 stevensc 3227
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3228
                                        'action' => 'addFund'
3229
                                    ]
3230
                                ]
3231
                            ]
3232
                        ]
1 efrain 3233
                    ],
3234
                    'browsers' => [
3235
                        'type' => Literal::class,
3236
                        'options' => [
3237
                            'route' => '/browsers',
3238
                            'defaults' => [
570 stevensc 3239
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3240
                                'action' => 'browsers'
3241
                            ]
3242
                        ]
1 efrain 3243
                    ],
3244
                    'ips' => [
3245
                        'type' => Literal::class,
3246
                        'options' => [
3247
                            'route' => '/ips',
3248
                            'defaults' => [
570 stevensc 3249
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3250
                                'action' => 'ips'
3251
                            ]
3252
                        ]
1 efrain 3253
                    ],
3254
                    'devices' => [
3255
                        'type' => Literal::class,
3256
                        'options' => [
3257
                            'route' => '/devices',
3258
                            'defaults' => [
570 stevensc 3259
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3260
                                'action' => 'devices'
3261
                            ]
3262
                        ]
1 efrain 3263
                    ],
3264
                    'delete-account' => [
3265
                        'type' => Literal::class,
3266
                        'options' => [
3267
                            'route' => '/delete-account',
3268
                            'defaults' => [
570 stevensc 3269
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3270
                                'action' => 'deleteAccount'
3271
                            ]
3272
                        ]
3273
                    ]
1 efrain 3274
                ],
570 stevensc 3275
                'may_terminate' => true
1 efrain 3276
            ],
3277
            'moodle' => [
3278
                'type' => Literal::class,
3279
                'options' => [
3280
                    'route' => '/moodle',
3281
                    'defaults' => [
570 stevensc 3282
                        'controller' => '\LeadersLinked\Controller\MoodleController',
3283
                        'action' => 'index'
3284
                    ]
1 efrain 3285
                ],
570 stevensc 3286
                'may_terminate' => true
1 efrain 3287
            ],
3288
            'oauth' => [
3289
                'type' => Literal::class,
3290
                'options' => [
3291
                    'route' => '/oauth',
3292
                    'defaults' => [
570 stevensc 3293
                        'controller' => '\LeadersLinked\Controller\OauthController',
3294
                        'action' => 'index'
3295
                    ]
1 efrain 3296
                ],
3297
                'may_terminate' => true,
3298
                'child_routes' => [
3299
                    'facebook' => [
3300
                        'type' => Literal::class,
3301
                        'options' => [
3302
                            'route' => '/facebook',
3303
                            'defaults' => [
570 stevensc 3304
                                'controller' => '\LeadersLinked\Controller\OauthController',
3305
                                'action' => 'facebook'
3306
                            ]
1 efrain 3307
                        ],
3308
                        'may_terminate' => true,
3309
                        'child_routes' => [
3310
                            'delete' => [
3311
                                'type' => Literal::class,
3312
                                'options' => [
3313
                                    'route' => '/delete',
3314
                                    'defaults' => [
570 stevensc 3315
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3316
                                        'action' => 'facebookDelete'
3317
                                    ]
1 efrain 3318
                                ],
570 stevensc 3319
                                'may_terminate' => true
1 efrain 3320
                            ],
3321
                            'cancel' => [
3322
                                'type' => Literal::class,
3323
                                'options' => [
3324
                                    'route' => '/cancel',
3325
                                    'defaults' => [
570 stevensc 3326
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3327
                                        'action' => 'facebookCancel'
3328
                                    ]
1 efrain 3329
                                ],
570 stevensc 3330
                                'may_terminate' => true
3331
                            ]
3332
                        ]
1 efrain 3333
                    ],
3334
                    'twitter' => [
3335
                        'type' => Literal::class,
3336
                        'options' => [
3337
                            'route' => '/twitter',
3338
                            'defaults' => [
570 stevensc 3339
                                'controller' => '\LeadersLinked\Controller\OauthController',
3340
                                'action' => 'twitter'
3341
                            ]
1 efrain 3342
                        ],
570 stevensc 3343
                        'may_terminate' => true
1 efrain 3344
                    ],
3345
                    'google' => [
3346
                        'type' => Literal::class,
3347
                        'options' => [
3348
                            'route' => '/google',
3349
                            'defaults' => [
570 stevensc 3350
                                'controller' => '\LeadersLinked\Controller\OauthController',
3351
                                'action' => 'google'
3352
                            ]
1 efrain 3353
                        ],
570 stevensc 3354
                        'may_terminate' => true
3355
                    ]
345 www 3356
                    /*
3357
                 * 'facebook' => [
3358
                 * 'type' => Literal::class,
3359
                 * 'options' => [
3360
                 * 'route' => '/facebook',
3361
                 * 'defaults' => [
570 stevensc 3362
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3363
                 * 'action' => 'facebook'
3364
                 * ]
3365
                 * ],
3366
                 * 'may_terminate' => true,
3367
                 * 'child_routes' => [
3368
                 * 'cancel' => [
3369
                 * 'type' => Literal::class,
3370
                 * 'options' => [
3371
                 * 'route' => '/cancel',
3372
                 * 'defaults' => [
570 stevensc 3373
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3374
                 * 'action' => 'facebookCancel'
3375
                 * ]
3376
                 * ]
3377
                 * ],
3378
                 * 'delete' => [
3379
                 * 'type' => Literal::class,
3380
                 * 'options' => [
3381
                 * 'route' => '/delete',
3382
                 * 'defaults' => [
570 stevensc 3383
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3384
                 * 'action' => 'facebookDelete'
3385
                 * ]
3386
                 * ]
3387
                 * ]
3388
                 * ]
3389
                 * ]
3390
                 */
570 stevensc 3391
                ]
1 efrain 3392
            ],
3393
            'daily-pulse' => [
3394
                'type' => Literal::class,
3395
                'options' => [
3396
                    'route' => '/daily-pulse',
3397
                    'defaults' => [
570 stevensc 3398
                        'controller' => '\LeadersLinked\Controller\DailyPulseController',
3399
                        'action' => 'index'
3400
                    ]
1 efrain 3401
                ],
3402
                'may_terminate' => true,
3403
                'child_routes' => [
3404
                    'how_are_you_feel' => [
3405
                        'type' => Segment::class,
3406
                        'options' => [
3407
                            'route' => '/how_are_you_feel/:id',
3408
                            'constraints' => [
570 stevensc 3409
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3410
                            ],
3411
                            'defaults' => [
570 stevensc 3412
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3413
                                'action' => 'howAreYouFeel'
3414
                            ]
3415
                        ]
1 efrain 3416
                    ],
3417
                    'climate_on_your_organization' => [
3418
                        'type' => Segment::class,
3419
                        'options' => [
3420
                            'route' => '/climate_on_your_organization/:id',
3421
                            'constraints' => [
570 stevensc 3422
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3423
                            ],
3424
                            'defaults' => [
570 stevensc 3425
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3426
                                'action' => 'climateOnYourOrganization'
3427
                            ]
3428
                        ]
3429
                    ]
3430
                ]
1 efrain 3431
            ],
570 stevensc 3432
 
1 efrain 3433
            'helpers' => [
3434
                'type' => Literal::class,
3435
                'options' => [
3436
                    'route' => '/helpers',
3437
                    'defaults' => [
570 stevensc 3438
                        'controller' => '\LeadersLinked\Controller\HelperController',
3439
                        'action' => 'index'
3440
                    ]
1 efrain 3441
                ],
3442
                'may_terminate' => true,
3443
                'child_routes' => [
3444
                    'menu' => [
3445
                        'type' => Literal::class,
3446
                        'options' => [
3447
                            'route' => '/menu',
3448
                            'defaults' => [
570 stevensc 3449
                                'controller' => '\LeadersLinked\Controller\HelperController',
3450
                                'action' => 'menu'
3451
                            ]
3452
                        ]
1 efrain 3453
                    ],
570 stevensc 3454
 
1 efrain 3455
                    'search-people' => [
3456
                        'type' => Literal::class,
3457
                        'options' => [
3458
                            'route' => '/search-people',
3459
                            'defaults' => [
570 stevensc 3460
                                'controller' => '\LeadersLinked\Controller\HelperController',
3461
                                'action' => 'searchPeople'
3462
                            ]
3463
                        ]
1 efrain 3464
                    ],
3465
                    'company-suggestion' => [
3466
                        'type' => Segment::class,
3467
                        'options' => [
3468
                            'route' => '/company-suggestion/:company_id',
3469
                            'constraints' => [
570 stevensc 3470
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3471
                            ],
3472
                            'defaults' => [
570 stevensc 3473
                                'controller' => '\LeadersLinked\Controller\HelperController',
3474
                                'action' => 'companySuggestion'
3475
                            ]
3476
                        ]
1 efrain 3477
                    ],
3478
                    'posts' => [
3479
                        'type' => Literal::class,
3480
                        'options' => [
3481
                            'route' => '/posts',
3482
                            'defaults' => [
570 stevensc 3483
                                'controller' => '\LeadersLinked\Controller\HelperController',
3484
                                'action' => 'posts'
3485
                            ]
3486
                        ]
1 efrain 3487
                    ],
3488
                    'people-you-may-know' => [
3489
                        'type' => Literal::class,
3490
                        'options' => [
3491
                            'route' => '/people-you-may-know',
3492
                            'defaults' => [
570 stevensc 3493
                                'controller' => '\LeadersLinked\Controller\HelperController',
3494
                                'action' => 'peopleYouMayKnow'
3495
                            ]
3496
                        ]
1 efrain 3497
                    ],
3498
                    'people-viewed-profile' => [
3499
                        'type' => Segment::class,
3500
                        'options' => [
3501
                            'route' => '/people-viewed-profile/:user_profile_id',
3502
                            'constraints' => [
570 stevensc 3503
                                'user_profile_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3504
                            ],
3505
                            'defaults' => [
570 stevensc 3506
                                'controller' => '\LeadersLinked\Controller\HelperController',
3507
                                'action' => 'peopleViewedProfile'
3508
                            ]
3509
                        ]
1 efrain 3510
                    ],
3511
                    'company-follower' => [
3512
                        'type' => Segment::class,
3513
                        'options' => [
3514
                            'route' => '/company-follower/:company_id',
3515
                            'constraints' => [
570 stevensc 3516
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3517
                            ],
3518
                            'defaults' => [
570 stevensc 3519
                                'controller' => '\LeadersLinked\Controller\HelperController',
3520
                                'action' => 'companyFollower'
3521
                            ]
3522
                        ]
1 efrain 3523
                    ],
3524
                    'group-members' => [
3525
                        'type' => Segment::class,
3526
                        'options' => [
3527
                            'route' => '/group-members/:group_id',
3528
                            'constraints' => [
570 stevensc 3529
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3530
                            ],
3531
                            'defaults' => [
570 stevensc 3532
                                'controller' => '\LeadersLinked\Controller\HelperController',
3533
                                'action' => 'groupMembers'
3534
                            ]
1 efrain 3535
                        ],
3536
                        'may_terminate' => true,
3537
                        'child_routes' => [
3538
                            'invite' => [
3539
                                'type' => Literal::class,
3540
                                'options' => [
3541
                                    'route' => '/invite',
3542
                                    'defaults' => [
570 stevensc 3543
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3544
                                        'action' => 'groupMemberInvite'
3545
                                    ]
3546
                                ]
1 efrain 3547
                            ],
3548
                            'reject' => [
3549
                                'type' => Segment::class,
3550
                                'options' => [
3551
                                    'route' => '/reject/:user_id',
3552
                                    'constraints' => [
570 stevensc 3553
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3554
                                    ],
3555
                                    'defaults' => [
570 stevensc 3556
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3557
                                        'action' => 'groupMemberReject'
3558
                                    ]
3559
                                ]
1 efrain 3560
                            ],
3561
                            'cancel' => [
3562
                                'type' => Segment::class,
3563
                                'options' => [
3564
                                    'route' => '/cancel/:user_id',
3565
                                    'constraints' => [
570 stevensc 3566
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3567
                                    ],
3568
                                    'defaults' => [
570 stevensc 3569
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3570
                                        'action' => 'groupMemberCancel'
3571
                                    ]
3572
                                ]
1 efrain 3573
                            ],
3574
                            'approve' => [
3575
                                'type' => Segment::class,
3576
                                'options' => [
3577
                                    'route' => '/approve/:user_id',
3578
                                    'constraints' => [
570 stevensc 3579
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3580
                                    ],
3581
                                    'defaults' => [
570 stevensc 3582
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3583
                                        'action' => 'groupMemberApprove'
3584
                                    ]
3585
                                ]
3586
                            ]
3587
                        ]
1 efrain 3588
                    ],
3589
                    'groups-suggestion' => [
3590
                        'type' => Literal::class,
3591
                        'options' => [
3592
                            'route' => '/groups-suggestion',
3593
                            'defaults' => [
570 stevensc 3594
                                'controller' => '\LeadersLinked\Controller\HelperController',
3595
                                'action' => 'groupsSuggestion'
3596
                            ]
3597
                        ]
1 efrain 3598
                    ],
3599
                    'my-groups' => [
3600
                        'type' => Literal::class,
3601
                        'options' => [
3602
                            'route' => '/my-groups',
3603
                            'defaults' => [
570 stevensc 3604
                                'controller' => '\LeadersLinked\Controller\HelperController',
3605
                                'action' => 'myGroups'
3606
                            ]
3607
                        ]
1 efrain 3608
                    ],
117 efrain 3609
                    'group-types' => [
3610
                        'type' => Literal::class,
3611
                        'options' => [
3612
                            'route' => '/group-types',
3613
                            'defaults' => [
570 stevensc 3614
                                'controller' => '\LeadersLinked\Controller\HelperController',
3615
                                'action' => 'groupTypes'
3616
                            ]
3617
                        ]
117 efrain 3618
                    ],
1 efrain 3619
                    'footer' => [
3620
                        'type' => Literal::class,
3621
                        'options' => [
3622
                            'route' => '/footer',
3623
                            'defaults' => [
570 stevensc 3624
                                'controller' => '\LeadersLinked\Controller\HelperController',
3625
                                'action' => 'footer'
3626
                            ]
3627
                        ]
1 efrain 3628
                    ],
3629
                    'next-events' => [
3630
                        'type' => Literal::class,
3631
                        'options' => [
3632
                            'route' => '/next-events',
3633
                            'defaults' => [
570 stevensc 3634
                                'controller' => '\LeadersLinked\Controller\HelperController',
3635
                                'action' => 'nextEvents'
3636
                            ]
3637
                        ]
1 efrain 3638
                    ],
3639
                    'company-sizes' => [
3640
                        'type' => Literal::class,
3641
                        'options' => [
3642
                            'route' => '/company-sizes',
3643
                            'defaults' => [
570 stevensc 3644
                                'controller' => '\LeadersLinked\Controller\HelperController',
3645
                                'action' => 'companySizes'
3646
                            ]
3647
                        ]
1 efrain 3648
                    ],
3649
                    'degrees' => [
3650
                        'type' => Literal::class,
3651
                        'options' => [
3652
                            'route' => '/degrees',
3653
                            'defaults' => [
570 stevensc 3654
                                'controller' => '\LeadersLinked\Controller\HelperController',
3655
                                'action' => 'degrees'
3656
                            ]
3657
                        ]
1 efrain 3658
                    ],
3659
                    'languages' => [
3660
                        'type' => Literal::class,
3661
                        'options' => [
3662
                            'route' => '/languages',
3663
                            'defaults' => [
570 stevensc 3664
                                'controller' => '\LeadersLinked\Controller\HelperController',
3665
                                'action' => 'languages'
3666
                            ]
3667
                        ]
1 efrain 3668
                    ],
570 stevensc 3669
 
1 efrain 3670
                    'skills' => [
3671
                        'type' => Literal::class,
3672
                        'options' => [
3673
                            'route' => '/skills',
3674
                            'defaults' => [
570 stevensc 3675
                                'controller' => '\LeadersLinked\Controller\HelperController',
3676
                                'action' => 'skills'
3677
                            ]
3678
                        ]
1 efrain 3679
                    ],
570 stevensc 3680
 
1 efrain 3681
                    'aptitudes' => [
3682
                        'type' => Literal::class,
3683
                        'options' => [
3684
                            'route' => '/aptitudes',
3685
                            'defaults' => [
570 stevensc 3686
                                'controller' => '\LeadersLinked\Controller\HelperController',
3687
                                'action' => 'aptitudes'
3688
                            ]
3689
                        ]
1 efrain 3690
                    ],
570 stevensc 3691
 
1 efrain 3692
                    'hobbies' => [
3693
                        'type' => Literal::class,
3694
                        'options' => [
3695
                            'route' => '/hobbies',
3696
                            'defaults' => [
570 stevensc 3697
                                'controller' => '\LeadersLinked\Controller\HelperController',
3698
                                'action' => 'hobbies'
3699
                            ]
3700
                        ]
1 efrain 3701
                    ],
570 stevensc 3702
 
1 efrain 3703
                    'industries' => [
3704
                        'type' => Literal::class,
3705
                        'options' => [
3706
                            'route' => '/industries',
3707
                            'defaults' => [
570 stevensc 3708
                                'controller' => '\LeadersLinked\Controller\HelperController',
3709
                                'action' => 'industries'
3710
                            ]
3711
                        ]
1 efrain 3712
                    ],
570 stevensc 3713
 
1 efrain 3714
                    'timezones' => [
3715
                        'type' => Literal::class,
3716
                        'options' => [
3717
                            'route' => '/timezones',
3718
                            'defaults' => [
570 stevensc 3719
                                'controller' => '\LeadersLinked\Controller\HelperController',
3720
                                'action' => 'timeZones'
3721
                            ]
3722
                        ]
1 efrain 3723
                    ],
570 stevensc 3724
 
192 efrain 3725
                    'abuse-report' => [
193 efrain 3726
                        'type' => Segment::class,
192 efrain 3727
                        'options' => [
3728
                            'route' => '/abuse-report/:type/:id',
3729
                            'constraints' => [
3730
                                'type' => 'feed|post|comment|message|chat-message|chat-group-message',
570 stevensc 3731
                                'id' => '[A-Za-z0-9\-]+\=*'
192 efrain 3732
                            ],
3733
                            'defaults' => [
570 stevensc 3734
                                'controller' => '\LeadersLinked\Controller\HelperController',
3735
                                'action' => 'abuseReport'
3736
                            ]
3737
                        ]
192 efrain 3738
                    ],
570 stevensc 3739
 
307 www 3740
                    'habits-and-skills' => [
3741
                        'type' => Literal::class,
3742
                        'options' => [
3743
                            'route' => '/habits-and-skills',
570 stevensc 3744
 
307 www 3745
                            'defaults' => [
570 stevensc 3746
                                'controller' => '\LeadersLinked\Controller\HelperController',
3747
                                'action' => 'habitsAndSkills'
3748
                            ]
308 www 3749
                        ],
3750
                        'may_terminate' => true,
3751
                        'child_routes' => [
3752
                            'get' => [
3753
                                'type' => Segment::class,
3754
                                'options' => [
3755
                                    'route' => '/get/:id',
3756
                                    'constraints' => [
570 stevensc 3757
                                        'id' => '[A-Za-z0-9\-]+\=*'
308 www 3758
                                    ],
3759
                                    'defaults' => [
570 stevensc 3760
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3761
                                        'action' => 'habitsAndSkillsGet'
3762
                                    ]
3763
                                ]
308 www 3764
                            ],
323 www 3765
                            'my' => [
3766
                                'type' => Literal::class,
3767
                                'options' => [
3768
                                    'route' => '/my',
3769
                                    'defaults' => [
570 stevensc 3770
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3771
                                        'action' => 'myHabitsAndSkillsGet'
3772
                                    ]
3773
                                ]
3774
                            ]
3775
                        ]
3776
                    ]
3777
                ]
1 efrain 3778
            ],
3779
            'help' => [
3780
                'type' => Literal::class,
3781
                'options' => [
3782
                    'route' => '/help',
3783
                    'defaults' => [
570 stevensc 3784
                        'controller' => '\LeadersLinked\Controller\HelpController',
3785
                        'action' => 'send'
3786
                    ]
1 efrain 3787
                ],
570 stevensc 3788
                'may_terminate' => true
1 efrain 3789
            ],
570 stevensc 3790
 
1 efrain 3791
            'marketplace' => [
3792
                'type' => Literal::class,
3793
                'options' => [
3794
                    'route' => '/marketplace',
3795
                    'defaults' => [
570 stevensc 3796
                        'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3797
                        'action' => 'index'
3798
                    ]
1 efrain 3799
                ],
3800
                'may_terminate' => true,
3801
                'child_routes' => [
3802
                    'categories' => [
3803
                        'type' => Segment::class,
3804
                        'options' => [
3805
                            'route' => '/categories',
3806
                            'defaults' => [
570 stevensc 3807
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3808
                                'action' => 'getCategories'
3809
                            ]
3810
                        ]
1 efrain 3811
                    ],
3812
                    'enroll' => [
3813
                        'type' => Segment::class,
3814
                        'options' => [
626 stevensc 3815
                            'route' => '/enroll/:company_uuid/:topic_uuid',
1 efrain 3816
                            'constraints' => [
626 stevensc 3817
                                'company_uuid' => '[A-Za-z0-9\-]+\=*',
3818
                                'topic_uuid' => '[A-Za-z0-9\-]+\=*'
1 efrain 3819
                            ],
3820
                            'defaults' => [
570 stevensc 3821
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3822
                                'action' => 'enroll'
3823
                            ]
3824
                        ]
1 efrain 3825
                    ],
3826
                    'claim' => [
3827
                        'type' => Segment::class,
3828
                        'options' => [
3829
                            'route' => '/claim/:id',
3830
                            'constraints' => [
570 stevensc 3831
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3832
                            ],
3833
                            'defaults' => [
570 stevensc 3834
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3835
                                'action' => 'claim'
3836
                            ]
3837
                        ]
3838
                    ]
3839
                ]
1 efrain 3840
            ],
119 efrain 3841
            'microlearning' => [
3842
                'type' => Literal::class,
3843
                'options' => [
3844
                    'route' => '/microlearning',
3845
                    'defaults' => [
570 stevensc 3846
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
3847
                        'action' => 'index'
3848
                    ]
119 efrain 3849
                ],
3850
                'may_terminate' => true,
3851
                'child_routes' => [
3852
                    'profile' => [
3853
                        'type' => Segment::class,
3854
                        'options' => [
3855
                            'route' => '/profile',
3856
                            'defaults' => [
570 stevensc 3857
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3858
                                'action' => 'profile'
3859
                            ]
3860
                        ]
119 efrain 3861
                    ],
3862
                    'companies' => [
3863
                        'type' => Segment::class,
3864
                        'options' => [
3865
                            'route' => '/companies',
3866
                            'defaults' => [
570 stevensc 3867
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3868
                                'action' => 'companies'
3869
                            ]
3870
                        ]
119 efrain 3871
                    ],
3872
                    'progress' => [
3873
                        'type' => Segment::class,
3874
                        'options' => [
3875
                            'route' => '/progress/:id',
3876
                            'constraints' => [
570 stevensc 3877
                                'id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3878
                            ],
3879
                            'defaults' => [
570 stevensc 3880
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3881
                                'action' => 'progress'
3882
                            ]
3883
                        ]
119 efrain 3884
                    ],
3885
                    'timeline' => [
3886
                        'type' => Segment::class,
3887
                        'options' => [
3888
                            'route' => '/timeline',
3889
                            'defaults' => [
570 stevensc 3890
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3891
                                'action' => 'timeline'
3892
                            ]
3893
                        ]
119 efrain 3894
                    ],
3895
                    'topics' => [
3896
                        'type' => Segment::class,
3897
                        'options' => [
3898
                            'route' => '/topics',
3899
                            'defaults' => [
570 stevensc 3900
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3901
                                'action' => 'topics'
3902
                            ]
161 efrain 3903
                        ],
563 stevensc 3904
                        'may_terminate' => true,
573 stevensc 3905
                    ],
3906
                    'topic' => [
3907
                        'type' => Segment::class,
3908
                        'options' => [
3909
                            'route' => '/topic/:id',
3910
                            'constraints' => [
3911
                                'id' => '[A-Za-z0-9\-]+\=*'
3912
                            ],
3913
                            'defaults' => [
3914
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3915
                                'action' => 'getTopic'
570 stevensc 3916
                            ]
3917
                        ]
345 www 3918
                    ],
235 efrain 3919
                    'take-a-test' => [
3920
                        'type' => Segment::class,
3921
                        'options' => [
3922
                            'route' => '/take-a-test/:slide_id',
3923
                            'constraints' => [
570 stevensc 3924
                                'slide_id' => '[A-Za-z0-9\-]+\=*'
235 efrain 3925
                            ],
3926
                            'defaults' => [
570 stevensc 3927
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3928
                                'action' => 'takeTest'
3929
                            ]
235 efrain 3930
                        ],
570 stevensc 3931
                        'may_terminate' => true
235 efrain 3932
                    ],
119 efrain 3933
                    'capsules' => [
3934
                        'type' => Segment::class,
3935
                        'options' => [
3936
                            'route' => '/capsules/:topic_id',
3937
                            'constraints' => [
570 stevensc 3938
                                'topic_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3939
                            ],
3940
                            'defaults' => [
570 stevensc 3941
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3942
                                'action' => 'capsules'
3943
                            ]
161 efrain 3944
                        ],
570 stevensc 3945
                        'may_terminate' => true
119 efrain 3946
                    ],
585 stevensc 3947
                    'capsule' => [
161 efrain 3948
                        'type' => Segment::class,
3949
                        'options' => [
585 stevensc 3950
                            'route' => '/capsules/:id',
161 efrain 3951
                            'constraints' => [
570 stevensc 3952
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 3953
                            ],
3954
                            'defaults' => [
570 stevensc 3955
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3956
                                'action' => 'getCapsule'
161 efrain 3957
                            ],
570 stevensc 3958
                            'may_terminate' => true
3959
                        ]
161 efrain 3960
                    ],
119 efrain 3961
                    'slides' => [
3962
                        'type' => Segment::class,
3963
                        'options' => [
3964
                            'route' => '/slides/:topic_id/:capsule_id',
3965
                            'constraints' => [
570 stevensc 3966
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3967
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3968
                            ],
3969
                            'defaults' => [
570 stevensc 3970
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3971
                                'action' => 'slides'
3972
                            ]
161 efrain 3973
                        ],
570 stevensc 3974
                        'may_terminate' => true
119 efrain 3975
                    ],
591 stevensc 3976
                    'get-slide' => [
161 efrain 3977
                        'type' => Segment::class,
3978
                        'options' => [
590 stevensc 3979
                            'route' => '/slides/:id',
161 efrain 3980
                            'constraints' => [
570 stevensc 3981
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 3982
                            ],
3983
                            'defaults' => [
570 stevensc 3984
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3985
                                'action' => 'getSlide'
3986
                            ]
161 efrain 3987
                        ],
570 stevensc 3988
                        'may_terminate' => true
161 efrain 3989
                    ],
119 efrain 3990
                    'sync' => [
3991
                        'type' => Segment::class,
3992
                        'options' => [
649 stevensc 3993
                            'route' => '/sync/slide/:slide_uuid',
167 efrain 3994
                            'constraints' => [
570 stevensc 3995
                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
167 efrain 3996
                            ],
119 efrain 3997
                            'defaults' => [
570 stevensc 3998
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
657 stevensc 3999
                                'action' => 'markSlideCompleted'
570 stevensc 4000
                            ]
4001
                        ]
119 efrain 4002
                    ],
4003
                    'last-capsule-in-progress' => [
4004
                        'type' => Segment::class,
4005
                        'options' => [
4006
                            'route' => '/last-capsule-in-progress',
4007
                            'defaults' => [
570 stevensc 4008
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4009
                                'action' => 'lastCapsuleInProgress'
4010
                            ]
4011
                        ]
119 efrain 4012
                    ],
4013
                    'capsules-pending' => [
4014
                        'type' => Segment::class,
4015
                        'options' => [
4016
                            'route' => '/capsules-pending',
4017
                            'defaults' => [
570 stevensc 4018
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4019
                                'action' => 'capsulesPending'
4020
                            ]
4021
                        ]
119 efrain 4022
                    ],
4023
                    'capsules-completed' => [
4024
                        'type' => Segment::class,
4025
                        'options' => [
4026
                            'route' => '/capsules-completed',
4027
                            'defaults' => [
570 stevensc 4028
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4029
                                'action' => 'capsulesCompleted'
4030
                            ]
4031
                        ]
119 efrain 4032
                    ],
4033
                    'capsules-in-progress' => [
4034
                        'type' => Segment::class,
4035
                        'options' => [
4036
                            'route' => '/capsules-in-progress',
4037
                            'defaults' => [
570 stevensc 4038
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4039
                                'action' => 'capsulesInProgress'
4040
                            ]
4041
                        ]
119 efrain 4042
                    ],
4043
                    'capsules-comments' => [
4044
                        'type' => Segment::class,
4045
                        'options' => [
4046
                            'route' => '/capsules-comments/:capsule_id',
4047
                            'constraints' => [
570 stevensc 4048
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4049
                            ],
4050
                            'defaults' => [
570 stevensc 4051
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4052
                                'action' => 'capsuleComments'
4053
                            ]
119 efrain 4054
                        ],
4055
                        'may_terminate' => true,
4056
                        'child_routes' => [
4057
                            'add' => [
4058
                                'type' => Segment::class,
4059
                                'options' => [
4060
                                    'route' => '/add',
4061
                                    'defaults' => [
570 stevensc 4062
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4063
                                        'action' => 'capsuleAddMyComment'
4064
                                    ]
4065
                                ]
119 efrain 4066
                            ],
4067
                            'delete' => [
4068
                                'type' => Segment::class,
4069
                                'options' => [
4070
                                    'route' => '/delete/:comment_id',
4071
                                    'constraints' => [
570 stevensc 4072
                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4073
                                    ],
4074
                                    'defaults' => [
570 stevensc 4075
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4076
                                        'action' => 'capsuleDeleteMyComment'
4077
                                    ]
4078
                                ]
4079
                            ]
4080
                        ]
4081
                    ]
4082
 
119 efrain 4083
                    /*
345 www 4084
                 *
4085
                 * 'capsule' => [
4086
                 * 'type' => Segment::class,
4087
                 * 'options' => [
4088
                 * 'route' => '/capsule',
4089
                 * 'defaults' => [
570 stevensc 4090
                 * 'controller' => '\LeadersLinked\Controller\MicrolearningController',
345 www 4091
                 * 'action' => 'lastCapsuleInProgress'
4092
                 * ]
4093
                 * ]
4094
                 * ],
4095
                 *
4096
                 *
4097
                 * capsuleCommentsAction
4098
                 * capsuleDeleteMyCommentAction
4099
                 * capsuleAddMyCommentAction
4100
                 *
4101
                 */
570 stevensc 4102
                ]
314 www 4103
            ],
570 stevensc 4104
 
314 www 4105
            'services' => [
4106
                'type' => Literal::class,
4107
                'options' => [
4108
                    'route' => '/services',
4109
                    'defaults' => [
570 stevensc 4110
                        'controller' => '\LeadersLinked\Controller\ServiceController',
4111
                        'action' => 'index'
4112
                    ]
314 www 4113
                ],
4114
                'may_terminate' => true,
4115
                'child_routes' => [
4116
                    'device' => [
4117
                        'type' => Literal::class,
4118
                        'options' => [
4119
                            'route' => '/device',
4120
                            'defaults' => [
570 stevensc 4121
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4122
                                'action' => 'device'
4123
                            ]
4124
                        ]
314 www 4125
                    ],
4126
                    'fcm' => [
4127
                        'type' => Literal::class,
4128
                        'options' => [
4129
                            'route' => '/fcm',
4130
                            'defaults' => [
570 stevensc 4131
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4132
                                'action' => 'fcm'
4133
                            ]
4134
                        ]
314 www 4135
                    ],
4136
                    'signin' => [
4137
                        'type' => Literal::class,
4138
                        'options' => [
4139
                            'route' => '/signin',
4140
                            'defaults' => [
570 stevensc 4141
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4142
                                'action' => 'signin'
4143
                            ]
4144
                        ]
314 www 4145
                    ],
4146
                    'signout' => [
4147
                        'type' => Literal::class,
4148
                        'options' => [
4149
                            'route' => '/signout',
4150
                            'defaults' => [
570 stevensc 4151
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4152
                                'action' => 'signout'
4153
                            ]
4154
                        ]
4155
                    ]
4156
                ]
4157
            ]
4158
        ]
1 efrain 4159
    ],
4160
    'controllers' => [
4161
        'factories' => [
203 efrain 4162
            \LeadersLinked\Controller\AbuseReportController::class => \LeadersLinked\Factory\Controller\AbuseReportControllerFactory::class,
570 stevensc 4163
 
1 efrain 4164
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
4165
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4166
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4167
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
4168
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
4169
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
4170
            \LeadersLinked\Controller\DailyPulseController::class => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
4171
            \LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
4172
            \LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
4173
            \LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
4174
            \LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
4175
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
4176
            \LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
4177
            \LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
4178
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
4179
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
283 www 4180
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
1 efrain 4181
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
4182
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
119 efrain 4183
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
1 efrain 4184
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
4185
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
4186
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
4187
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4188
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4189
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4190
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
4191
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
345 www 4192
            // \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
1 efrain 4193
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
570 stevensc 4194
 
1 efrain 4195
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
4196
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4197
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4198
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
570 stevensc 4199
 
314 www 4200
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
570 stevensc 4201
 
302 www 4202
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4203
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4204
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4205
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
304 www 4206
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
345 www 4207
            \LeadersLinked\Controller\HabitSkillRegisterController::class => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
354 ariadna 4208
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
387 ariadna 4209
            \LeadersLinked\Controller\HabitReportController::class => \LeadersLinked\Factory\Controller\HabitReportControllerFactory::class,
494 ariadna 4210
            \LeadersLinked\Controller\RecruitmentPreAplicationController::class => \LeadersLinked\Factory\Controller\RecruitmentPreAplicationControllerFactory::class,
512 ariadna 4211
            \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class => \LeadersLinked\Factory\Controller\RecruitmentCreateJobDescriptionControllerFactory::class,
570 stevensc 4212
 
1 efrain 4213
        ],
4214
        'aliases' => [
570 stevensc 4215
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
4216
 
4217
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4218
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
4219
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4220
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
4221
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
4222
            '\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
4223
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
4224
            '\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
4225
            '\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
4226
            '\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
4227
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
4228
            '\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
4229
            '\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
4230
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
4231
            '\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
4232
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
4233
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
4234
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4235
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4236
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4237
 
4238
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
4239
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
4240
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4241
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4242
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4243
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4244
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4245
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
4246
 
4247
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
4248
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
4249
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
4250
 
4251
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
4252
 
4253
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4254
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4255
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4256
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4257
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4258
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4259
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4260
            '\LeadersLinked\Controller\HabitReportController' => \LeadersLinked\Controller\HabitReportController::class,
4261
            '\LeadersLinked\Controller\RecruitmentPreAplicationController' => \LeadersLinked\Controller\RecruitmentPreAplicationController::class,
4262
            '\LeadersLinked\Controller\RecruitmentCreateJobDescriptionController' => \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class,
4263
            // '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4264
            // '\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4265
        ]
1 efrain 4266
    ],
4267
    'laminas-cli' => [
4268
        'commands' => [
307 www 4269
            'process-scheduled-content' => \LeadersLinked\Command\ProcessScheduledContentCommand::class,
1 efrain 4270
            'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
4271
            'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
4272
            'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
4273
            'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
4274
            'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
4275
            'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
4276
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
4277
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
257 efrain 4278
            'check-external-credenditals' => \LeadersLinked\Command\CheckExternalCredentialsCommand::class,
283 www 4279
            'send-data-to-s3-command' => \LeadersLinked\Command\SendDataToS3Command::class,
290 www 4280
            'test-command' => \LeadersLinked\Command\TestCommand::class,
570 stevensc 4281
            'test-send-push' => \LeadersLinked\Command\TestSendPushCommand::class
4282
        ]
1 efrain 4283
    ],
345 www 4284
    'listeners' => [ // \LeadersLinked\Listener\CorsRequestListener::class,
72 efrain 4285
    ],
1 efrain 4286
    'service_manager' => [
4287
        'abstract_factories' => [
570 stevensc 4288
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
1 efrain 4289
        ],
4290
        'factories' => [
4291
            'RenderingStrategy' => function ($container) {
4292
                $translator = $container->get('MvcTranslator');
4293
                return new \LeadersLinked\View\RenderingStrategy($translator);
4294
            },
345 www 4295
            // 'corsRequestListener' => function ($container) {
4296
            //
4297
            // return new \LeadersLinked\Listener\CorsRequestListener();
4298
            // },
1 efrain 4299
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4300
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
570 stevensc 4301
 
1 efrain 4302
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
4303
            \LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
4304
            \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
570 stevensc 4305
 
1 efrain 4306
            \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
4307
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
4308
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
570 stevensc 4309
 
1 efrain 4310
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
570 stevensc 4311
 
1 efrain 4312
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
257 efrain 4313
            \LeadersLinked\Command\CheckExternalCredentialsCommand::class => \LeadersLinked\Factory\Command\CheckExternalCredentialsCommandFactory::class,
283 www 4314
            \LeadersLinked\Command\SendDataToS3Command::class => \LeadersLinked\Factory\Command\SendDataToS3CommandFactory::class,
570 stevensc 4315
 
307 www 4316
            \LeadersLinked\Command\ProcessScheduledContentCommand::class => \LeadersLinked\Factory\Command\ProcessScheduledContentCommandFactory::class,
570 stevensc 4317
 
290 www 4318
            \LeadersLinked\Command\TestCommand::class => \LeadersLinked\Factory\Command\TestCommandFactory::class,
570 stevensc 4319
            \LeadersLinked\Command\TestSendPushCommand::class => \LeadersLinked\Factory\Command\TestSendPushCommandFactory::class
1 efrain 4320
        ],
345 www 4321
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
570 stevensc 4322
        ]
1 efrain 4323
    ],
4324
    'controller_plugins' => [
4325
        'invokables' => [],
4326
        'factories' => [
4327
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
570 stevensc 4328
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class
1 efrain 4329
        ],
4330
        'aliases' => [
4331
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
570 stevensc 4332
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class
4333
        ]
1 efrain 4334
    ],
4335
    'view_manager' => [
4336
        'display_not_found_reason' => true,
4337
        'display_exceptions' => true,
4338
        'doctype' => 'HTML5',
4339
        'not_found_template' => 'error/404',
4340
        'exception_template' => 'error/index',
4341
        'template_map' => [
4342
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
4343
            'error/404' => __DIR__ . '/../view/error/404.phtml',
570 stevensc 4344
            'error/index' => __DIR__ . '/../view/error/index.phtml'
1 efrain 4345
        ],
4346
        'template_path_stack' => [
570 stevensc 4347
            __DIR__ . '/../view'
1 efrain 4348
        ],
4349
        'strategies' => [
4350
            'ViewJsonStrategy',
570 stevensc 4351
            'RenderingStrategy'
4352
        ]
387 ariadna 4353
    ],
1 efrain 4354
];