Proyectos de Subversion LeadersLinked - Services

Rev

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