Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
352 ariadna 2
 
3
declare(strict_types=1);
4
 
1 efrain 5
namespace LeadersLinked;
6
 
7
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
352 ariadna 9
 
1 efrain 10
return [
11
    'navigation' => [
12
        'menu' => [],
13
        'footer' => [
14
            [
15
                'label' => 'LABEL_PRIVACY_POLICY',
570 stevensc 16
                'route' => 'privacy-policy'
1 efrain 17
            ],
18
            [
19
                'label' => 'LABEL_PROFESSIONALISM_POLICY',
570 stevensc 20
                'route' => 'professionalism-policy'
1 efrain 21
            ],
22
            [
23
                'label' => 'LABEL_COOKIES_POLICY',
570 stevensc 24
                'route' => 'cookies'
1 efrain 25
            ],
26
            [
27
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
570 stevensc 28
                'route' => 'terms-and-conditions'
29
            ]
30
        ]
1 efrain 31
    ],
32
    'router' => [
33
        'routes' => [
34
            'signin' => [
35
                'type' => Literal::class,
36
                'options' => [
37
                    'route' => '/signin',
38
                    'defaults' => [
570 stevensc 39
                        'controller' => '\LeadersLinked\Controller\AuthController',
40
                        'action' => 'signin'
41
                    ]
1 efrain 42
                ],
43
                'may_terminate' => true,
44
                'child_routes' => [
570 stevensc 45
 
1 efrain 46
                    'facebook' => [
47
                        'type' => Literal::class,
48
                        'options' => [
49
                            'route' => '/facebook',
50
                            'defaults' => [
570 stevensc 51
                                'controller' => '\LeadersLinked\Controller\AuthController',
52
                                'action' => 'facebook'
53
                            ]
54
                        ]
1 efrain 55
                    ],
56
                    'twitter' => [
57
                        'type' => Literal::class,
58
                        'options' => [
59
                            'route' => '/twitter',
60
                            'defaults' => [
570 stevensc 61
                                'controller' => '\LeadersLinked\Controller\AuthController',
62
                                'action' => 'twitter'
63
                            ]
64
                        ]
1 efrain 65
                    ],
66
                    'google' => [
67
                        'type' => Literal::class,
68
                        'options' => [
69
                            'route' => '/google',
70
                            'defaults' => [
570 stevensc 71
                                'controller' => '\LeadersLinked\Controller\AuthController',
72
                                'action' => 'google'
73
                            ]
74
                        ]
1 efrain 75
                    ],
76
                    'impersonate' => [
77
                        'type' => Literal::class,
78
                        'options' => [
79
                            'route' => '/impersonate',
80
                            'defaults' => [
570 stevensc 81
                                'controller' => '\LeadersLinked\Controller\AuthController',
82
                                'action' => 'impersonate'
83
                            ]
84
                        ]
1 efrain 85
                    ],
177 efrain 86
                    'debug' => [
119 efrain 87
                        'type' => Literal::class,
88
                        'options' => [
177 efrain 89
                            'route' => '/debug',
119 efrain 90
                            'defaults' => [
570 stevensc 91
                                'controller' => '\LeadersLinked\Controller\AuthController',
92
                                'action' => 'debug'
93
                            ]
94
                        ]
95
                    ]
96
                ]
1 efrain 97
            ],
570 stevensc 98
 
342 www 99
            'crypto' => [
341 www 100
                'type' => Segment::class,
101
                'options' => [
342 www 102
                    'route' => '/crypto',
341 www 103
                    'defaults' => [
570 stevensc 104
                        'controller' => '\LeadersLinked\Controller\HomeController',
105
                        'action' => 'crypto'
106
                    ]
341 www 107
                ],
570 stevensc 108
                'may_terminate' => true
341 www 109
            ],
570 stevensc 110
 
333 www 111
            'storage' => [
112
                'type' => Segment::class,
113
                'options' => [
114
                    'route' => '/storage/:code',
115
                    'constraints' => [
570 stevensc 116
                        'code' => '[A-Za-z0-9]+'
333 www 117
                    ],
118
                    'defaults' => [
570 stevensc 119
                        'controller' => '\LeadersLinked\Controller\HomeController',
120
                        'action' => 'storage'
121
                    ]
333 www 122
                ],
570 stevensc 123
                'may_terminate' => true
333 www 124
            ],
570 stevensc 125
 
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
            ],
826 stevensc 3105
            'network' => [
3106
                'type' => Literal::class,
3107
                'options' => [
3108
                    'route' => '/network',
3109
                    'defaults' => [
3110
                        'controller' => '\LeadersLinked\Controller\NetworkController',
3111
                        'action' => 'index'
3112
                    ]
3113
                ],
3114
                'may_terminate' => true,
3115
                'child_routes' => [
3116
                    'view' => [
3117
                        'type' => Segment::class,
3118
                        'options' => [
3119
                            'route' => '/view/:id',
3120
                            'constraints' => [
3121
                                'id' => '[A-Za-z0-9\-]+\=*'
3122
                            ],
3123
                            'defaults' => [
3124
                                'controller' => '\LeadersLinked\Controller\NetworkController',
3125
                                'action' => 'view'
3126
                            ]
3127
                        ]
3128
                    ],
3129
                    'list' => [
3130
                        'type' => Literal::class,
3131
                        'options' => [
3132
                            'route' => '/list',
3133
                            'defaults' => [
3134
                                'controller' => '\LeadersLinked\Controller\NetworkController',
3135
                                'action' => 'list'
3136
                            ]
3137
                        ]
3138
                    ],
3139
                    'default' => [
3140
                        'type' => Literal::class,
3141
                        'options' => [
3142
                            'route' => '/default',
3143
                            'defaults' => [
3144
                                'controller' => '\LeadersLinked\Controller\NetworkController',
3145
                                'action' => 'default'
3146
                            ]
3147
                        ]
3148
                    ],
3149
                    'find-by-hostname' => [
3150
                        'type' => Literal::class,
3151
                        'options' => [
3152
                            'route' => '/find-by-hostname',
3153
                            'defaults' => [
3154
                                'controller' => '\LeadersLinked\Controller\NetworkController',
3155
                                'action' => 'findByHostname'
3156
                            ]
3157
                        ]
3158
                    ],
3159
                    'styles' => [
3160
                        'type' => Segment::class,
3161
                        'options' => [
3162
                            'route' => '/styles/:id',
3163
                            'constraints' => [
3164
                                'id' => '[A-Za-z0-9\-]+\=*'
3165
                            ],
3166
                            'defaults' => [
3167
                                'controller' => '\LeadersLinked\Controller\NetworkController',
3168
                                'action' => 'getNetworkStyles'
3169
                            ]
3170
                        ]
3171
                    ]
3172
                ]
3173
            ],
1 efrain 3174
            'account-settings' => [
3175
                'type' => Literal::class,
3176
                'options' => [
3177
                    'route' => '/account-settings',
3178
                    'defaults' => [
570 stevensc 3179
                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3180
                        'action' => 'index'
3181
                    ]
1 efrain 3182
                ],
3183
                'may_terminate' => true,
3184
                'child_routes' => [
3185
                    'image' => [
3186
                        'type' => Segment::class,
3187
                        'options' => [
3188
                            'route' => '/image/:operation',
3189
                            'cconstraints' => [
570 stevensc 3190
                                'operation' => 'upload|delete'
1 efrain 3191
                            ],
3192
                            'defaults' => [
570 stevensc 3193
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
1 efrain 3194
                                'action' => 'image',
570 stevensc 3195
                                'operation' => 'upload'
3196
                            ]
3197
                        ]
1 efrain 3198
                    ],
3199
                    'deactivate' => [
3200
                        'type' => Literal::class,
3201
                        'options' => [
3202
                            'route' => '/deactivate',
3203
                            'defaults' => [
570 stevensc 3204
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3205
                                'action' => 'deactivate'
3206
                            ]
3207
                        ]
1 efrain 3208
                    ],
3209
                    'notifications' => [
3210
                        'type' => Literal::class,
3211
                        'options' => [
3212
                            'route' => '/notification',
3213
                            'defaults' => [
570 stevensc 3214
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3215
                                'action' => 'notification'
3216
                            ]
3217
                        ]
1 efrain 3218
                    ],
3219
                    'password' => [
3220
                        'type' => Literal::class,
3221
                        'options' => [
3222
                            'route' => '/password',
3223
                            'defaults' => [
570 stevensc 3224
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3225
                                'action' => 'password'
3226
                            ]
3227
                        ]
1 efrain 3228
                    ],
3229
                    'add-facebook' => [
3230
                        'type' => Literal::class,
3231
                        'options' => [
3232
                            'route' => '/add-facebook',
3233
                            'defaults' => [
570 stevensc 3234
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3235
                                'action' => 'addFacebook'
3236
                            ]
3237
                        ]
1 efrain 3238
                    ],
3239
                    'remove-facebook' => [
3240
                        'type' => Literal::class,
3241
                        'options' => [
3242
                            'route' => '/remove-facebook',
3243
                            'defaults' => [
570 stevensc 3244
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3245
                                'action' => 'removeFacebook'
3246
                            ]
3247
                        ]
1 efrain 3248
                    ],
3249
                    'add-twitter' => [
3250
                        'type' => Literal::class,
3251
                        'options' => [
3252
                            'route' => '/add-twitter',
3253
                            'defaults' => [
570 stevensc 3254
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3255
                                'action' => 'addTwitter'
3256
                            ]
3257
                        ]
1 efrain 3258
                    ],
3259
                    'remove-twitter' => [
3260
                        'type' => Literal::class,
3261
                        'options' => [
3262
                            'route' => '/remove-twitter',
3263
                            'defaults' => [
570 stevensc 3264
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3265
                                'action' => 'removeTwitter'
3266
                            ]
3267
                        ]
1 efrain 3268
                    ],
3269
                    'add-google' => [
3270
                        'type' => Literal::class,
3271
                        'options' => [
3272
                            'route' => '/add-google',
3273
                            'defaults' => [
570 stevensc 3274
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3275
                                'action' => 'addGoogle'
3276
                            ]
3277
                        ]
1 efrain 3278
                    ],
3279
                    'remove-google' => [
3280
                        'type' => Literal::class,
3281
                        'options' => [
3282
                            'route' => '/remove-google',
3283
                            'defaults' => [
570 stevensc 3284
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3285
                                'action' => 'removeGoogle'
3286
                            ]
3287
                        ]
1 efrain 3288
                    ],
3289
                    'location' => [
3290
                        'type' => Literal::class,
3291
                        'options' => [
3292
                            'route' => '/location',
3293
                            'defaults' => [
570 stevensc 3294
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3295
                                'action' => 'location'
3296
                            ]
3297
                        ]
1 efrain 3298
                    ],
3299
                    'privacy' => [
3300
                        'type' => Literal::class,
3301
                        'options' => [
3302
                            'route' => '/privacy',
3303
                            'defaults' => [
570 stevensc 3304
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3305
                                'action' => 'privacy'
3306
                            ]
3307
                        ]
1 efrain 3308
                    ],
3309
                    'basic' => [
3310
                        'type' => Literal::class,
3311
                        'options' => [
3312
                            'route' => '/basic',
3313
                            'defaults' => [
570 stevensc 3314
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3315
                                'action' => 'basic'
3316
                            ]
3317
                        ]
1 efrain 3318
                    ],
3319
                    'transactions' => [
3320
                        'type' => Literal::class,
3321
                        'options' => [
3322
                            'route' => '/transactions',
3323
                            'defaults' => [
570 stevensc 3324
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3325
                                'action' => 'transactions'
3326
                            ]
1 efrain 3327
                        ],
3328
                        'may_terminate' => true,
3329
                        'child_routes' => [
3330
                            'add-funds' => [
3331
                                'type' => Literal::class,
3332
                                'options' => [
3333
                                    'route' => '/add-funds',
3334
                                    'defaults' => [
570 stevensc 3335
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3336
                                        'action' => 'addFund'
3337
                                    ]
3338
                                ]
3339
                            ]
3340
                        ]
1 efrain 3341
                    ],
3342
                    'browsers' => [
3343
                        'type' => Literal::class,
3344
                        'options' => [
3345
                            'route' => '/browsers',
3346
                            'defaults' => [
570 stevensc 3347
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3348
                                'action' => 'browsers'
3349
                            ]
3350
                        ]
1 efrain 3351
                    ],
3352
                    'ips' => [
3353
                        'type' => Literal::class,
3354
                        'options' => [
3355
                            'route' => '/ips',
3356
                            'defaults' => [
570 stevensc 3357
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3358
                                'action' => 'ips'
3359
                            ]
3360
                        ]
1 efrain 3361
                    ],
3362
                    'devices' => [
3363
                        'type' => Literal::class,
3364
                        'options' => [
3365
                            'route' => '/devices',
3366
                            'defaults' => [
570 stevensc 3367
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3368
                                'action' => 'devices'
3369
                            ]
3370
                        ]
1 efrain 3371
                    ],
3372
                    'delete-account' => [
3373
                        'type' => Literal::class,
3374
                        'options' => [
3375
                            'route' => '/delete-account',
3376
                            'defaults' => [
570 stevensc 3377
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3378
                                'action' => 'deleteAccount'
3379
                            ]
3380
                        ]
3381
                    ]
1 efrain 3382
                ],
570 stevensc 3383
                'may_terminate' => true
1 efrain 3384
            ],
3385
            'moodle' => [
3386
                'type' => Literal::class,
3387
                'options' => [
3388
                    'route' => '/moodle',
3389
                    'defaults' => [
570 stevensc 3390
                        'controller' => '\LeadersLinked\Controller\MoodleController',
3391
                        'action' => 'index'
3392
                    ]
1 efrain 3393
                ],
570 stevensc 3394
                'may_terminate' => true
1 efrain 3395
            ],
3396
            'oauth' => [
3397
                'type' => Literal::class,
3398
                'options' => [
3399
                    'route' => '/oauth',
3400
                    'defaults' => [
570 stevensc 3401
                        'controller' => '\LeadersLinked\Controller\OauthController',
3402
                        'action' => 'index'
3403
                    ]
1 efrain 3404
                ],
3405
                'may_terminate' => true,
3406
                'child_routes' => [
3407
                    'facebook' => [
3408
                        'type' => Literal::class,
3409
                        'options' => [
3410
                            'route' => '/facebook',
3411
                            'defaults' => [
570 stevensc 3412
                                'controller' => '\LeadersLinked\Controller\OauthController',
3413
                                'action' => 'facebook'
3414
                            ]
1 efrain 3415
                        ],
3416
                        'may_terminate' => true,
3417
                        'child_routes' => [
3418
                            'delete' => [
3419
                                'type' => Literal::class,
3420
                                'options' => [
3421
                                    'route' => '/delete',
3422
                                    'defaults' => [
570 stevensc 3423
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3424
                                        'action' => 'facebookDelete'
3425
                                    ]
1 efrain 3426
                                ],
570 stevensc 3427
                                'may_terminate' => true
1 efrain 3428
                            ],
3429
                            'cancel' => [
3430
                                'type' => Literal::class,
3431
                                'options' => [
3432
                                    'route' => '/cancel',
3433
                                    'defaults' => [
570 stevensc 3434
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3435
                                        'action' => 'facebookCancel'
3436
                                    ]
1 efrain 3437
                                ],
570 stevensc 3438
                                'may_terminate' => true
3439
                            ]
3440
                        ]
1 efrain 3441
                    ],
3442
                    'twitter' => [
3443
                        'type' => Literal::class,
3444
                        'options' => [
3445
                            'route' => '/twitter',
3446
                            'defaults' => [
570 stevensc 3447
                                'controller' => '\LeadersLinked\Controller\OauthController',
3448
                                'action' => 'twitter'
3449
                            ]
1 efrain 3450
                        ],
570 stevensc 3451
                        'may_terminate' => true
1 efrain 3452
                    ],
3453
                    'google' => [
3454
                        'type' => Literal::class,
3455
                        'options' => [
3456
                            'route' => '/google',
3457
                            'defaults' => [
570 stevensc 3458
                                'controller' => '\LeadersLinked\Controller\OauthController',
3459
                                'action' => 'google'
3460
                            ]
1 efrain 3461
                        ],
570 stevensc 3462
                        'may_terminate' => true
3463
                    ]
345 www 3464
                    /*
3465
                 * 'facebook' => [
3466
                 * 'type' => Literal::class,
3467
                 * 'options' => [
3468
                 * 'route' => '/facebook',
3469
                 * 'defaults' => [
570 stevensc 3470
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3471
                 * 'action' => 'facebook'
3472
                 * ]
3473
                 * ],
3474
                 * 'may_terminate' => true,
3475
                 * 'child_routes' => [
3476
                 * 'cancel' => [
3477
                 * 'type' => Literal::class,
3478
                 * 'options' => [
3479
                 * 'route' => '/cancel',
3480
                 * 'defaults' => [
570 stevensc 3481
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3482
                 * 'action' => 'facebookCancel'
3483
                 * ]
3484
                 * ]
3485
                 * ],
3486
                 * 'delete' => [
3487
                 * 'type' => Literal::class,
3488
                 * 'options' => [
3489
                 * 'route' => '/delete',
3490
                 * 'defaults' => [
570 stevensc 3491
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
345 www 3492
                 * 'action' => 'facebookDelete'
3493
                 * ]
3494
                 * ]
3495
                 * ]
3496
                 * ]
3497
                 * ]
3498
                 */
570 stevensc 3499
                ]
1 efrain 3500
            ],
3501
            'daily-pulse' => [
3502
                'type' => Literal::class,
3503
                'options' => [
3504
                    'route' => '/daily-pulse',
3505
                    'defaults' => [
570 stevensc 3506
                        'controller' => '\LeadersLinked\Controller\DailyPulseController',
3507
                        'action' => 'index'
3508
                    ]
1 efrain 3509
                ],
3510
                'may_terminate' => true,
3511
                'child_routes' => [
3512
                    'how_are_you_feel' => [
3513
                        'type' => Segment::class,
3514
                        'options' => [
3515
                            'route' => '/how_are_you_feel/:id',
3516
                            'constraints' => [
570 stevensc 3517
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3518
                            ],
3519
                            'defaults' => [
570 stevensc 3520
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3521
                                'action' => 'howAreYouFeel'
3522
                            ]
3523
                        ]
1 efrain 3524
                    ],
3525
                    'climate_on_your_organization' => [
3526
                        'type' => Segment::class,
3527
                        'options' => [
3528
                            'route' => '/climate_on_your_organization/:id',
3529
                            'constraints' => [
570 stevensc 3530
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3531
                            ],
3532
                            'defaults' => [
570 stevensc 3533
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3534
                                'action' => 'climateOnYourOrganization'
3535
                            ]
3536
                        ]
3537
                    ]
3538
                ]
1 efrain 3539
            ],
570 stevensc 3540
 
1 efrain 3541
            'helpers' => [
3542
                'type' => Literal::class,
3543
                'options' => [
3544
                    'route' => '/helpers',
3545
                    'defaults' => [
570 stevensc 3546
                        'controller' => '\LeadersLinked\Controller\HelperController',
3547
                        'action' => 'index'
3548
                    ]
1 efrain 3549
                ],
3550
                'may_terminate' => true,
3551
                'child_routes' => [
3552
                    'menu' => [
3553
                        'type' => Literal::class,
3554
                        'options' => [
3555
                            'route' => '/menu',
3556
                            'defaults' => [
570 stevensc 3557
                                'controller' => '\LeadersLinked\Controller\HelperController',
3558
                                'action' => 'menu'
3559
                            ]
3560
                        ]
1 efrain 3561
                    ],
570 stevensc 3562
 
1 efrain 3563
                    'search-people' => [
3564
                        'type' => Literal::class,
3565
                        'options' => [
3566
                            'route' => '/search-people',
3567
                            'defaults' => [
570 stevensc 3568
                                'controller' => '\LeadersLinked\Controller\HelperController',
3569
                                'action' => 'searchPeople'
3570
                            ]
3571
                        ]
1 efrain 3572
                    ],
3573
                    'company-suggestion' => [
3574
                        'type' => Segment::class,
3575
                        'options' => [
3576
                            'route' => '/company-suggestion/:company_id',
3577
                            'constraints' => [
570 stevensc 3578
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3579
                            ],
3580
                            'defaults' => [
570 stevensc 3581
                                'controller' => '\LeadersLinked\Controller\HelperController',
3582
                                'action' => 'companySuggestion'
3583
                            ]
3584
                        ]
1 efrain 3585
                    ],
3586
                    'posts' => [
3587
                        'type' => Literal::class,
3588
                        'options' => [
3589
                            'route' => '/posts',
3590
                            'defaults' => [
570 stevensc 3591
                                'controller' => '\LeadersLinked\Controller\HelperController',
3592
                                'action' => 'posts'
3593
                            ]
3594
                        ]
1 efrain 3595
                    ],
3596
                    'people-you-may-know' => [
3597
                        'type' => Literal::class,
3598
                        'options' => [
3599
                            'route' => '/people-you-may-know',
3600
                            'defaults' => [
570 stevensc 3601
                                'controller' => '\LeadersLinked\Controller\HelperController',
3602
                                'action' => 'peopleYouMayKnow'
3603
                            ]
3604
                        ]
1 efrain 3605
                    ],
3606
                    'people-viewed-profile' => [
3607
                        'type' => Segment::class,
3608
                        'options' => [
3609
                            'route' => '/people-viewed-profile/:user_profile_id',
3610
                            'constraints' => [
570 stevensc 3611
                                'user_profile_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3612
                            ],
3613
                            'defaults' => [
570 stevensc 3614
                                'controller' => '\LeadersLinked\Controller\HelperController',
3615
                                'action' => 'peopleViewedProfile'
3616
                            ]
3617
                        ]
1 efrain 3618
                    ],
3619
                    'company-follower' => [
3620
                        'type' => Segment::class,
3621
                        'options' => [
3622
                            'route' => '/company-follower/:company_id',
3623
                            'constraints' => [
570 stevensc 3624
                                'company_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3625
                            ],
3626
                            'defaults' => [
570 stevensc 3627
                                'controller' => '\LeadersLinked\Controller\HelperController',
3628
                                'action' => 'companyFollower'
3629
                            ]
3630
                        ]
1 efrain 3631
                    ],
3632
                    'group-members' => [
3633
                        'type' => Segment::class,
3634
                        'options' => [
3635
                            'route' => '/group-members/:group_id',
3636
                            'constraints' => [
570 stevensc 3637
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3638
                            ],
3639
                            'defaults' => [
570 stevensc 3640
                                'controller' => '\LeadersLinked\Controller\HelperController',
3641
                                'action' => 'groupMembers'
3642
                            ]
1 efrain 3643
                        ],
3644
                        'may_terminate' => true,
3645
                        'child_routes' => [
3646
                            'invite' => [
3647
                                'type' => Literal::class,
3648
                                'options' => [
3649
                                    'route' => '/invite',
3650
                                    'defaults' => [
570 stevensc 3651
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3652
                                        'action' => 'groupMemberInvite'
3653
                                    ]
3654
                                ]
1 efrain 3655
                            ],
3656
                            'reject' => [
3657
                                'type' => Segment::class,
3658
                                'options' => [
3659
                                    'route' => '/reject/:user_id',
3660
                                    'constraints' => [
570 stevensc 3661
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3662
                                    ],
3663
                                    'defaults' => [
570 stevensc 3664
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3665
                                        'action' => 'groupMemberReject'
3666
                                    ]
3667
                                ]
1 efrain 3668
                            ],
3669
                            'cancel' => [
3670
                                'type' => Segment::class,
3671
                                'options' => [
3672
                                    'route' => '/cancel/:user_id',
3673
                                    'constraints' => [
570 stevensc 3674
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3675
                                    ],
3676
                                    'defaults' => [
570 stevensc 3677
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3678
                                        'action' => 'groupMemberCancel'
3679
                                    ]
3680
                                ]
1 efrain 3681
                            ],
3682
                            'approve' => [
3683
                                'type' => Segment::class,
3684
                                'options' => [
3685
                                    'route' => '/approve/:user_id',
3686
                                    'constraints' => [
570 stevensc 3687
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3688
                                    ],
3689
                                    'defaults' => [
570 stevensc 3690
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3691
                                        'action' => 'groupMemberApprove'
3692
                                    ]
3693
                                ]
3694
                            ]
3695
                        ]
1 efrain 3696
                    ],
3697
                    'groups-suggestion' => [
3698
                        'type' => Literal::class,
3699
                        'options' => [
3700
                            'route' => '/groups-suggestion',
3701
                            'defaults' => [
570 stevensc 3702
                                'controller' => '\LeadersLinked\Controller\HelperController',
3703
                                'action' => 'groupsSuggestion'
3704
                            ]
3705
                        ]
1 efrain 3706
                    ],
3707
                    'my-groups' => [
3708
                        'type' => Literal::class,
3709
                        'options' => [
3710
                            'route' => '/my-groups',
3711
                            'defaults' => [
570 stevensc 3712
                                'controller' => '\LeadersLinked\Controller\HelperController',
3713
                                'action' => 'myGroups'
3714
                            ]
3715
                        ]
1 efrain 3716
                    ],
117 efrain 3717
                    'group-types' => [
3718
                        'type' => Literal::class,
3719
                        'options' => [
3720
                            'route' => '/group-types',
3721
                            'defaults' => [
570 stevensc 3722
                                'controller' => '\LeadersLinked\Controller\HelperController',
3723
                                'action' => 'groupTypes'
3724
                            ]
3725
                        ]
117 efrain 3726
                    ],
1 efrain 3727
                    'footer' => [
3728
                        'type' => Literal::class,
3729
                        'options' => [
3730
                            'route' => '/footer',
3731
                            'defaults' => [
570 stevensc 3732
                                'controller' => '\LeadersLinked\Controller\HelperController',
3733
                                'action' => 'footer'
3734
                            ]
3735
                        ]
1 efrain 3736
                    ],
3737
                    'next-events' => [
3738
                        'type' => Literal::class,
3739
                        'options' => [
3740
                            'route' => '/next-events',
3741
                            'defaults' => [
570 stevensc 3742
                                'controller' => '\LeadersLinked\Controller\HelperController',
3743
                                'action' => 'nextEvents'
3744
                            ]
3745
                        ]
1 efrain 3746
                    ],
3747
                    'company-sizes' => [
3748
                        'type' => Literal::class,
3749
                        'options' => [
3750
                            'route' => '/company-sizes',
3751
                            'defaults' => [
570 stevensc 3752
                                'controller' => '\LeadersLinked\Controller\HelperController',
3753
                                'action' => 'companySizes'
3754
                            ]
3755
                        ]
1 efrain 3756
                    ],
3757
                    'degrees' => [
3758
                        'type' => Literal::class,
3759
                        'options' => [
3760
                            'route' => '/degrees',
3761
                            'defaults' => [
570 stevensc 3762
                                'controller' => '\LeadersLinked\Controller\HelperController',
3763
                                'action' => 'degrees'
3764
                            ]
3765
                        ]
1 efrain 3766
                    ],
3767
                    'languages' => [
3768
                        'type' => Literal::class,
3769
                        'options' => [
3770
                            'route' => '/languages',
3771
                            'defaults' => [
570 stevensc 3772
                                'controller' => '\LeadersLinked\Controller\HelperController',
3773
                                'action' => 'languages'
3774
                            ]
3775
                        ]
1 efrain 3776
                    ],
570 stevensc 3777
 
1 efrain 3778
                    'skills' => [
3779
                        'type' => Literal::class,
3780
                        'options' => [
3781
                            'route' => '/skills',
3782
                            'defaults' => [
570 stevensc 3783
                                'controller' => '\LeadersLinked\Controller\HelperController',
3784
                                'action' => 'skills'
3785
                            ]
3786
                        ]
1 efrain 3787
                    ],
570 stevensc 3788
 
1 efrain 3789
                    'aptitudes' => [
3790
                        'type' => Literal::class,
3791
                        'options' => [
3792
                            'route' => '/aptitudes',
3793
                            'defaults' => [
570 stevensc 3794
                                'controller' => '\LeadersLinked\Controller\HelperController',
3795
                                'action' => 'aptitudes'
3796
                            ]
3797
                        ]
1 efrain 3798
                    ],
570 stevensc 3799
 
1 efrain 3800
                    'hobbies' => [
3801
                        'type' => Literal::class,
3802
                        'options' => [
3803
                            'route' => '/hobbies',
3804
                            'defaults' => [
570 stevensc 3805
                                'controller' => '\LeadersLinked\Controller\HelperController',
3806
                                'action' => 'hobbies'
3807
                            ]
3808
                        ]
1 efrain 3809
                    ],
570 stevensc 3810
 
1 efrain 3811
                    'industries' => [
3812
                        'type' => Literal::class,
3813
                        'options' => [
3814
                            'route' => '/industries',
3815
                            'defaults' => [
570 stevensc 3816
                                'controller' => '\LeadersLinked\Controller\HelperController',
3817
                                'action' => 'industries'
3818
                            ]
3819
                        ]
1 efrain 3820
                    ],
570 stevensc 3821
 
1 efrain 3822
                    'timezones' => [
3823
                        'type' => Literal::class,
3824
                        'options' => [
3825
                            'route' => '/timezones',
3826
                            'defaults' => [
570 stevensc 3827
                                'controller' => '\LeadersLinked\Controller\HelperController',
3828
                                'action' => 'timeZones'
3829
                            ]
3830
                        ]
1 efrain 3831
                    ],
570 stevensc 3832
 
192 efrain 3833
                    'abuse-report' => [
193 efrain 3834
                        'type' => Segment::class,
192 efrain 3835
                        'options' => [
3836
                            'route' => '/abuse-report/:type/:id',
3837
                            'constraints' => [
3838
                                'type' => 'feed|post|comment|message|chat-message|chat-group-message',
570 stevensc 3839
                                'id' => '[A-Za-z0-9\-]+\=*'
192 efrain 3840
                            ],
3841
                            'defaults' => [
570 stevensc 3842
                                'controller' => '\LeadersLinked\Controller\HelperController',
3843
                                'action' => 'abuseReport'
3844
                            ]
3845
                        ]
192 efrain 3846
                    ],
570 stevensc 3847
 
307 www 3848
                    'habits-and-skills' => [
3849
                        'type' => Literal::class,
3850
                        'options' => [
3851
                            'route' => '/habits-and-skills',
570 stevensc 3852
 
307 www 3853
                            'defaults' => [
570 stevensc 3854
                                'controller' => '\LeadersLinked\Controller\HelperController',
3855
                                'action' => 'habitsAndSkills'
3856
                            ]
308 www 3857
                        ],
3858
                        'may_terminate' => true,
3859
                        'child_routes' => [
3860
                            'get' => [
3861
                                'type' => Segment::class,
3862
                                'options' => [
3863
                                    'route' => '/get/:id',
3864
                                    'constraints' => [
570 stevensc 3865
                                        'id' => '[A-Za-z0-9\-]+\=*'
308 www 3866
                                    ],
3867
                                    'defaults' => [
570 stevensc 3868
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3869
                                        'action' => 'habitsAndSkillsGet'
3870
                                    ]
3871
                                ]
308 www 3872
                            ],
323 www 3873
                            'my' => [
3874
                                'type' => Literal::class,
3875
                                'options' => [
3876
                                    'route' => '/my',
3877
                                    'defaults' => [
570 stevensc 3878
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3879
                                        'action' => 'myHabitsAndSkillsGet'
3880
                                    ]
3881
                                ]
3882
                            ]
3883
                        ]
3884
                    ]
3885
                ]
1 efrain 3886
            ],
3887
            'help' => [
3888
                'type' => Literal::class,
3889
                'options' => [
3890
                    'route' => '/help',
3891
                    'defaults' => [
570 stevensc 3892
                        'controller' => '\LeadersLinked\Controller\HelpController',
3893
                        'action' => 'send'
3894
                    ]
1 efrain 3895
                ],
570 stevensc 3896
                'may_terminate' => true
1 efrain 3897
            ],
570 stevensc 3898
 
1 efrain 3899
            'marketplace' => [
3900
                'type' => Literal::class,
3901
                'options' => [
3902
                    'route' => '/marketplace',
3903
                    'defaults' => [
570 stevensc 3904
                        'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3905
                        'action' => 'index'
3906
                    ]
1 efrain 3907
                ],
3908
                'may_terminate' => true,
3909
                'child_routes' => [
3910
                    'categories' => [
3911
                        'type' => Segment::class,
3912
                        'options' => [
3913
                            'route' => '/categories',
3914
                            'defaults' => [
570 stevensc 3915
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3916
                                'action' => 'getCategories'
3917
                            ]
3918
                        ]
1 efrain 3919
                    ],
3920
                    'enroll' => [
3921
                        'type' => Segment::class,
3922
                        'options' => [
626 stevensc 3923
                            'route' => '/enroll/:company_uuid/:topic_uuid',
1 efrain 3924
                            'constraints' => [
626 stevensc 3925
                                'company_uuid' => '[A-Za-z0-9\-]+\=*',
3926
                                'topic_uuid' => '[A-Za-z0-9\-]+\=*'
1 efrain 3927
                            ],
3928
                            'defaults' => [
570 stevensc 3929
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3930
                                'action' => 'enroll'
3931
                            ]
3932
                        ]
1 efrain 3933
                    ],
3934
                    'claim' => [
3935
                        'type' => Segment::class,
3936
                        'options' => [
3937
                            'route' => '/claim/:id',
3938
                            'constraints' => [
570 stevensc 3939
                                'id' => '[A-Za-z0-9\-]+\=*'
1 efrain 3940
                            ],
3941
                            'defaults' => [
570 stevensc 3942
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3943
                                'action' => 'claim'
3944
                            ]
3945
                        ]
3946
                    ]
3947
                ]
1 efrain 3948
            ],
119 efrain 3949
            'microlearning' => [
3950
                'type' => Literal::class,
3951
                'options' => [
3952
                    'route' => '/microlearning',
3953
                    'defaults' => [
570 stevensc 3954
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
3955
                        'action' => 'index'
3956
                    ]
119 efrain 3957
                ],
3958
                'may_terminate' => true,
3959
                'child_routes' => [
3960
                    'profile' => [
3961
                        'type' => Segment::class,
3962
                        'options' => [
3963
                            'route' => '/profile',
3964
                            'defaults' => [
570 stevensc 3965
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3966
                                'action' => 'profile'
3967
                            ]
3968
                        ]
119 efrain 3969
                    ],
3970
                    'companies' => [
3971
                        'type' => Segment::class,
3972
                        'options' => [
3973
                            'route' => '/companies',
3974
                            'defaults' => [
570 stevensc 3975
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3976
                                'action' => 'companies'
3977
                            ]
3978
                        ]
119 efrain 3979
                    ],
3980
                    'progress' => [
3981
                        'type' => Segment::class,
3982
                        'options' => [
3983
                            'route' => '/progress/:id',
3984
                            'constraints' => [
570 stevensc 3985
                                'id' => '[A-Za-z0-9\-]+\=*'
119 efrain 3986
                            ],
3987
                            'defaults' => [
570 stevensc 3988
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3989
                                'action' => 'progress'
3990
                            ]
3991
                        ]
119 efrain 3992
                    ],
3993
                    'timeline' => [
3994
                        'type' => Segment::class,
3995
                        'options' => [
3996
                            'route' => '/timeline',
3997
                            'defaults' => [
570 stevensc 3998
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3999
                                'action' => 'timeline'
4000
                            ]
4001
                        ]
119 efrain 4002
                    ],
4003
                    'topics' => [
4004
                        'type' => Segment::class,
4005
                        'options' => [
4006
                            'route' => '/topics',
4007
                            'defaults' => [
570 stevensc 4008
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4009
                                'action' => 'topics'
4010
                            ]
161 efrain 4011
                        ],
563 stevensc 4012
                        'may_terminate' => true,
573 stevensc 4013
                    ],
4014
                    'topic' => [
4015
                        'type' => Segment::class,
4016
                        'options' => [
806 stevensc 4017
                            'route' => '/topics/:id',
573 stevensc 4018
                            'constraints' => [
4019
                                'id' => '[A-Za-z0-9\-]+\=*'
4020
                            ],
4021
                            'defaults' => [
4022
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4023
                                'action' => 'getTopic'
570 stevensc 4024
                            ]
4025
                        ]
345 www 4026
                    ],
235 efrain 4027
                    'take-a-test' => [
4028
                        'type' => Segment::class,
4029
                        'options' => [
4030
                            'route' => '/take-a-test/:slide_id',
4031
                            'constraints' => [
570 stevensc 4032
                                'slide_id' => '[A-Za-z0-9\-]+\=*'
235 efrain 4033
                            ],
4034
                            'defaults' => [
570 stevensc 4035
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4036
                                'action' => 'takeTest'
4037
                            ]
235 efrain 4038
                        ],
570 stevensc 4039
                        'may_terminate' => true
235 efrain 4040
                    ],
119 efrain 4041
                    'capsules' => [
4042
                        'type' => Segment::class,
4043
                        'options' => [
4044
                            'route' => '/capsules/:topic_id',
4045
                            'constraints' => [
570 stevensc 4046
                                'topic_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4047
                            ],
4048
                            'defaults' => [
570 stevensc 4049
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4050
                                'action' => 'capsules'
4051
                            ]
161 efrain 4052
                        ],
570 stevensc 4053
                        'may_terminate' => true
119 efrain 4054
                    ],
585 stevensc 4055
                    'capsule' => [
161 efrain 4056
                        'type' => Segment::class,
4057
                        'options' => [
585 stevensc 4058
                            'route' => '/capsules/:id',
161 efrain 4059
                            'constraints' => [
570 stevensc 4060
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 4061
                            ],
4062
                            'defaults' => [
570 stevensc 4063
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4064
                                'action' => 'getCapsule'
161 efrain 4065
                            ],
570 stevensc 4066
                            'may_terminate' => true
4067
                        ]
161 efrain 4068
                    ],
119 efrain 4069
                    'slides' => [
4070
                        'type' => Segment::class,
4071
                        'options' => [
4072
                            'route' => '/slides/:topic_id/:capsule_id',
4073
                            'constraints' => [
570 stevensc 4074
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
4075
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4076
                            ],
4077
                            'defaults' => [
570 stevensc 4078
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4079
                                'action' => 'slides'
4080
                            ]
161 efrain 4081
                        ],
570 stevensc 4082
                        'may_terminate' => true
119 efrain 4083
                    ],
591 stevensc 4084
                    'get-slide' => [
161 efrain 4085
                        'type' => Segment::class,
4086
                        'options' => [
590 stevensc 4087
                            'route' => '/slides/:id',
161 efrain 4088
                            'constraints' => [
570 stevensc 4089
                                'id' => '[A-Za-z0-9\-]+\=*'
161 efrain 4090
                            ],
4091
                            'defaults' => [
570 stevensc 4092
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4093
                                'action' => 'getSlide'
4094
                            ]
161 efrain 4095
                        ],
570 stevensc 4096
                        'may_terminate' => true
161 efrain 4097
                    ],
119 efrain 4098
                    'sync' => [
4099
                        'type' => Segment::class,
4100
                        'options' => [
649 stevensc 4101
                            'route' => '/sync/slide/:slide_uuid',
167 efrain 4102
                            'constraints' => [
570 stevensc 4103
                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
167 efrain 4104
                            ],
119 efrain 4105
                            'defaults' => [
570 stevensc 4106
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
657 stevensc 4107
                                'action' => 'markSlideCompleted'
570 stevensc 4108
                            ]
4109
                        ]
119 efrain 4110
                    ],
4111
                    'last-capsule-in-progress' => [
4112
                        'type' => Segment::class,
4113
                        'options' => [
4114
                            'route' => '/last-capsule-in-progress',
4115
                            'defaults' => [
570 stevensc 4116
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4117
                                'action' => 'lastCapsuleInProgress'
4118
                            ]
4119
                        ]
119 efrain 4120
                    ],
4121
                    'capsules-pending' => [
4122
                        'type' => Segment::class,
4123
                        'options' => [
4124
                            'route' => '/capsules-pending',
4125
                            'defaults' => [
570 stevensc 4126
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4127
                                'action' => 'capsulesPending'
4128
                            ]
4129
                        ]
119 efrain 4130
                    ],
4131
                    'capsules-completed' => [
4132
                        'type' => Segment::class,
4133
                        'options' => [
4134
                            'route' => '/capsules-completed',
4135
                            'defaults' => [
570 stevensc 4136
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4137
                                'action' => 'capsulesCompleted'
4138
                            ]
4139
                        ]
119 efrain 4140
                    ],
4141
                    'capsules-in-progress' => [
4142
                        'type' => Segment::class,
4143
                        'options' => [
4144
                            'route' => '/capsules-in-progress',
4145
                            'defaults' => [
570 stevensc 4146
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4147
                                'action' => 'capsulesInProgress'
4148
                            ]
4149
                        ]
119 efrain 4150
                    ],
4151
                    'capsules-comments' => [
4152
                        'type' => Segment::class,
4153
                        'options' => [
4154
                            'route' => '/capsules-comments/:capsule_id',
4155
                            'constraints' => [
570 stevensc 4156
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4157
                            ],
4158
                            'defaults' => [
570 stevensc 4159
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4160
                                'action' => 'capsuleComments'
4161
                            ]
119 efrain 4162
                        ],
4163
                        'may_terminate' => true,
4164
                        'child_routes' => [
4165
                            'add' => [
4166
                                'type' => Segment::class,
4167
                                'options' => [
4168
                                    'route' => '/add',
4169
                                    'defaults' => [
570 stevensc 4170
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4171
                                        'action' => 'capsuleAddMyComment'
4172
                                    ]
4173
                                ]
119 efrain 4174
                            ],
4175
                            'delete' => [
4176
                                'type' => Segment::class,
4177
                                'options' => [
4178
                                    'route' => '/delete/:comment_id',
4179
                                    'constraints' => [
570 stevensc 4180
                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
119 efrain 4181
                                    ],
4182
                                    'defaults' => [
570 stevensc 4183
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4184
                                        'action' => 'capsuleDeleteMyComment'
4185
                                    ]
4186
                                ]
4187
                            ]
4188
                        ]
4189
                    ]
4190
 
119 efrain 4191
                    /*
345 www 4192
                 *
4193
                 * 'capsule' => [
4194
                 * 'type' => Segment::class,
4195
                 * 'options' => [
4196
                 * 'route' => '/capsule',
4197
                 * 'defaults' => [
570 stevensc 4198
                 * 'controller' => '\LeadersLinked\Controller\MicrolearningController',
345 www 4199
                 * 'action' => 'lastCapsuleInProgress'
4200
                 * ]
4201
                 * ]
4202
                 * ],
4203
                 *
4204
                 *
4205
                 * capsuleCommentsAction
4206
                 * capsuleDeleteMyCommentAction
4207
                 * capsuleAddMyCommentAction
4208
                 *
4209
                 */
570 stevensc 4210
                ]
314 www 4211
            ],
570 stevensc 4212
 
314 www 4213
            'services' => [
4214
                'type' => Literal::class,
4215
                'options' => [
4216
                    'route' => '/services',
4217
                    'defaults' => [
570 stevensc 4218
                        'controller' => '\LeadersLinked\Controller\ServiceController',
4219
                        'action' => 'index'
4220
                    ]
314 www 4221
                ],
4222
                'may_terminate' => true,
4223
                'child_routes' => [
4224
                    'device' => [
4225
                        'type' => Literal::class,
4226
                        'options' => [
4227
                            'route' => '/device',
4228
                            'defaults' => [
570 stevensc 4229
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4230
                                'action' => 'device'
4231
                            ]
4232
                        ]
314 www 4233
                    ],
4234
                    'fcm' => [
4235
                        'type' => Literal::class,
4236
                        'options' => [
4237
                            'route' => '/fcm',
4238
                            'defaults' => [
570 stevensc 4239
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4240
                                'action' => 'fcm'
4241
                            ]
4242
                        ]
314 www 4243
                    ],
4244
                    'signin' => [
4245
                        'type' => Literal::class,
4246
                        'options' => [
4247
                            'route' => '/signin',
4248
                            'defaults' => [
570 stevensc 4249
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4250
                                'action' => 'signin'
4251
                            ]
4252
                        ]
314 www 4253
                    ],
4254
                    'signout' => [
4255
                        'type' => Literal::class,
4256
                        'options' => [
4257
                            'route' => '/signout',
4258
                            'defaults' => [
570 stevensc 4259
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4260
                                'action' => 'signout'
4261
                            ]
4262
                        ]
4263
                    ]
4264
                ]
4265
            ]
4266
        ]
1 efrain 4267
    ],
4268
    'controllers' => [
4269
        'factories' => [
203 efrain 4270
            \LeadersLinked\Controller\AbuseReportController::class => \LeadersLinked\Factory\Controller\AbuseReportControllerFactory::class,
570 stevensc 4271
 
1 efrain 4272
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
4273
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4274
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4275
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
4276
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
4277
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
4278
            \LeadersLinked\Controller\DailyPulseController::class => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
4279
            \LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
4280
            \LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
4281
            \LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
4282
            \LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
4283
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
4284
            \LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
4285
            \LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
4286
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
4287
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
283 www 4288
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
1 efrain 4289
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
4290
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
119 efrain 4291
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
1 efrain 4292
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
4293
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
826 stevensc 4294
            \LeadersLinked\Controller\NetworkController::class => \LeadersLinked\Factory\Controller\NetworkControllerFactory::class,
1 efrain 4295
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
4296
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4297
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4298
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4299
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
4300
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
345 www 4301
            // \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
1 efrain 4302
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
570 stevensc 4303
 
1 efrain 4304
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
4305
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4306
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4307
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
570 stevensc 4308
 
314 www 4309
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
570 stevensc 4310
 
302 www 4311
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4312
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4313
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4314
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
304 www 4315
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
345 www 4316
            \LeadersLinked\Controller\HabitSkillRegisterController::class => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
354 ariadna 4317
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
387 ariadna 4318
            \LeadersLinked\Controller\HabitReportController::class => \LeadersLinked\Factory\Controller\HabitReportControllerFactory::class,
494 ariadna 4319
            \LeadersLinked\Controller\RecruitmentPreAplicationController::class => \LeadersLinked\Factory\Controller\RecruitmentPreAplicationControllerFactory::class,
512 ariadna 4320
            \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class => \LeadersLinked\Factory\Controller\RecruitmentCreateJobDescriptionControllerFactory::class,
570 stevensc 4321
 
1 efrain 4322
        ],
4323
        'aliases' => [
570 stevensc 4324
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
4325
 
4326
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4327
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
4328
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4329
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
4330
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
4331
            '\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
4332
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
4333
            '\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
4334
            '\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
4335
            '\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
4336
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
4337
            '\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
4338
            '\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
4339
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
4340
            '\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
4341
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
4342
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
826 stevensc 4343
            '\LeadersLinked\Controller\NetworkController' => \LeadersLinked\Controller\NetworkController::class,
570 stevensc 4344
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4345
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4346
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4347
 
4348
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
4349
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
4350
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4351
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4352
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4353
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4354
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4355
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
4356
 
4357
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
4358
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
4359
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
4360
 
4361
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
4362
 
4363
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4364
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4365
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4366
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4367
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4368
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4369
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4370
            '\LeadersLinked\Controller\HabitReportController' => \LeadersLinked\Controller\HabitReportController::class,
4371
            '\LeadersLinked\Controller\RecruitmentPreAplicationController' => \LeadersLinked\Controller\RecruitmentPreAplicationController::class,
4372
            '\LeadersLinked\Controller\RecruitmentCreateJobDescriptionController' => \LeadersLinked\Controller\RecruitmentCreateJobDescriptionController::class,
4373
            // '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4374
            // '\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4375
        ]
1 efrain 4376
    ],
4377
    'laminas-cli' => [
4378
        'commands' => [
307 www 4379
            'process-scheduled-content' => \LeadersLinked\Command\ProcessScheduledContentCommand::class,
1 efrain 4380
            'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
4381
            'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
4382
            'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
4383
            'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
4384
            'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
4385
            'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
4386
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
4387
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
257 efrain 4388
            'check-external-credenditals' => \LeadersLinked\Command\CheckExternalCredentialsCommand::class,
283 www 4389
            'send-data-to-s3-command' => \LeadersLinked\Command\SendDataToS3Command::class,
290 www 4390
            'test-command' => \LeadersLinked\Command\TestCommand::class,
570 stevensc 4391
            'test-send-push' => \LeadersLinked\Command\TestSendPushCommand::class
4392
        ]
1 efrain 4393
    ],
345 www 4394
    'listeners' => [ // \LeadersLinked\Listener\CorsRequestListener::class,
72 efrain 4395
    ],
1 efrain 4396
    'service_manager' => [
4397
        'abstract_factories' => [
570 stevensc 4398
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
1 efrain 4399
        ],
4400
        'factories' => [
4401
            'RenderingStrategy' => function ($container) {
4402
                $translator = $container->get('MvcTranslator');
4403
                return new \LeadersLinked\View\RenderingStrategy($translator);
4404
            },
345 www 4405
            // 'corsRequestListener' => function ($container) {
4406
            //
4407
            // return new \LeadersLinked\Listener\CorsRequestListener();
4408
            // },
1 efrain 4409
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4410
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
570 stevensc 4411
 
1 efrain 4412
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
4413
            \LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
4414
            \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
570 stevensc 4415
 
1 efrain 4416
            \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
4417
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
4418
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
570 stevensc 4419
 
1 efrain 4420
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
570 stevensc 4421
 
1 efrain 4422
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
257 efrain 4423
            \LeadersLinked\Command\CheckExternalCredentialsCommand::class => \LeadersLinked\Factory\Command\CheckExternalCredentialsCommandFactory::class,
283 www 4424
            \LeadersLinked\Command\SendDataToS3Command::class => \LeadersLinked\Factory\Command\SendDataToS3CommandFactory::class,
570 stevensc 4425
 
307 www 4426
            \LeadersLinked\Command\ProcessScheduledContentCommand::class => \LeadersLinked\Factory\Command\ProcessScheduledContentCommandFactory::class,
570 stevensc 4427
 
290 www 4428
            \LeadersLinked\Command\TestCommand::class => \LeadersLinked\Factory\Command\TestCommandFactory::class,
570 stevensc 4429
            \LeadersLinked\Command\TestSendPushCommand::class => \LeadersLinked\Factory\Command\TestSendPushCommandFactory::class
1 efrain 4430
        ],
345 www 4431
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
746 stevensc 4432
            \LeadersLinked\Cache\CacheImpl::class => 'leaders-linked-cache'
570 stevensc 4433
        ]
1 efrain 4434
    ],
4435
    'controller_plugins' => [
4436
        'invokables' => [],
4437
        'factories' => [
4438
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
570 stevensc 4439
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class
1 efrain 4440
        ],
4441
        'aliases' => [
4442
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
570 stevensc 4443
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class
4444
        ]
1 efrain 4445
    ],
4446
    'view_manager' => [
4447
        'display_not_found_reason' => true,
4448
        'display_exceptions' => true,
4449
        'doctype' => 'HTML5',
4450
        'not_found_template' => 'error/404',
4451
        'exception_template' => 'error/index',
4452
        'template_map' => [
4453
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
4454
            'error/404' => __DIR__ . '/../view/error/404.phtml',
570 stevensc 4455
            'error/index' => __DIR__ . '/../view/error/index.phtml'
1 efrain 4456
        ],
4457
        'template_path_stack' => [
570 stevensc 4458
            __DIR__ . '/../view'
1 efrain 4459
        ],
4460
        'strategies' => [
4461
            'ViewJsonStrategy',
570 stevensc 4462
            'RenderingStrategy'
4463
        ]
387 ariadna 4464
    ],
1 efrain 4465
];