Proyectos de Subversion LeadersLinked - Services

Rev

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

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