Proyectos de Subversion LeadersLinked - Services

Rev

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