Proyectos de Subversion LeadersLinked - Services

Rev

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

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