Proyectos de Subversion LeadersLinked - Services

Rev

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

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