Proyectos de Subversion LeadersLinked - Services

Rev

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