Proyectos de Subversion LeadersLinked - Services

Rev

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