Proyectos de Subversion LeadersLinked - Services

Rev

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

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