Proyectos de Subversion LeadersLinked - Services

Rev

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