Proyectos de Subversion LeadersLinked - Services

Rev

Rev 342 | Rev 352 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 342 Rev 345
Línea 1... Línea 1...
1
<?php
1
<?php
2
 
-
 
3
declare(strict_types=1);
2
declare(strict_types = 1);
4
 
-
 
5
namespace LeadersLinked;
3
namespace LeadersLinked;
Línea 6... Línea 4...
6
 
4
 
7
use Laminas\Router\Http\Literal;
5
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
-
 
9
 
-
 
10
 
6
use Laminas\Router\Http\Segment;
11
return [
7
return [
12
    'navigation' => [
8
    'navigation' => [
13
        'menu' => [],
9
        'menu' => [],
14
        'footer' => [
10
        'footer' => [
Línea 25... Línea 21...
25
                'route' => 'cookies'
21
                'route' => 'cookies'
26
            ],
22
            ],
27
            [
23
            [
28
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
24
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
29
                'route' => 'terms-and-conditions'
25
                'route' => 'terms-and-conditions'
30
            ],
26
            ]
31
        ]
27
        ]
32
    ],
28
    ],
33
    'router' => [
29
    'router' => [
34
        'routes' => [
30
        'routes' => [
35
            'signin' => [
31
            'signin' => [
Línea 42... Línea 38...
42
                    ]
38
                    ]
43
                ],
39
                ],
44
                'may_terminate' => true,
40
                'may_terminate' => true,
45
                'child_routes' => [
41
                'child_routes' => [
Línea 46... Línea -...
46
 
-
 
47
 
42
 
48
                    'facebook' => [
43
                    'facebook' => [
49
                        'type' => Literal::class,
44
                        'type' => Literal::class,
50
                        'options' => [
45
                        'options' => [
51
                            'route' => '/facebook',
46
                            'route' => '/facebook',
52
                            'defaults' => [
47
                            'defaults' => [
53
                                'controller' => '\LeadersLinked\Controller\AuthController',
48
                                'controller' => '\LeadersLinked\Controller\AuthController',
54
                                'action' => 'facebook',
49
                                'action' => 'facebook'
55
                            ],
50
                            ]
56
                        ],
51
                        ]
57
                    ],
52
                    ],
58
                    'twitter' => [
53
                    'twitter' => [
59
                        'type' => Literal::class,
54
                        'type' => Literal::class,
60
                        'options' => [
55
                        'options' => [
61
                            'route' => '/twitter',
56
                            'route' => '/twitter',
62
                            'defaults' => [
57
                            'defaults' => [
63
                                'controller' => '\LeadersLinked\Controller\AuthController',
58
                                'controller' => '\LeadersLinked\Controller\AuthController',
64
                                'action' => 'twitter',
59
                                'action' => 'twitter'
65
                            ],
60
                            ]
66
                        ],
61
                        ]
67
                    ],
62
                    ],
68
                    'google' => [
63
                    'google' => [
69
                        'type' => Literal::class,
64
                        'type' => Literal::class,
70
                        'options' => [
65
                        'options' => [
71
                            'route' => '/google',
66
                            'route' => '/google',
72
                            'defaults' => [
67
                            'defaults' => [
73
                                'controller' => '\LeadersLinked\Controller\AuthController',
68
                                'controller' => '\LeadersLinked\Controller\AuthController',
74
                                'action' => 'google',
69
                                'action' => 'google'
75
                            ],
70
                            ]
76
                        ],
71
                        ]
77
                    ],
72
                    ],
78
                    'impersonate' => [
73
                    'impersonate' => [
79
                        'type' => Literal::class,
74
                        'type' => Literal::class,
80
                        'options' => [
75
                        'options' => [
81
                            'route' => '/impersonate',
76
                            'route' => '/impersonate',
82
                            'defaults' => [
77
                            'defaults' => [
83
                                'controller' => '\LeadersLinked\Controller\AuthController',
78
                                'controller' => '\LeadersLinked\Controller\AuthController',
84
                                'action' => 'impersonate',
79
                                'action' => 'impersonate'
85
                            ],
80
                            ]
86
                        ],
81
                        ]
87
                    ],
82
                    ],
88
                    'debug' => [
83
                    'debug' => [
89
                        'type' => Literal::class,
84
                        'type' => Literal::class,
90
                        'options' => [
85
                        'options' => [
91
                            'route' => '/debug',
86
                            'route' => '/debug',
92
                            'defaults' => [
87
                            'defaults' => [
93
                                'controller' => '\LeadersLinked\Controller\AuthController',
88
                                'controller' => '\LeadersLinked\Controller\AuthController',
94
                                'action' => 'debug',
89
                                'action' => 'debug'
95
                            ],
90
                            ]
96
                        ],
91
                        ]
97
                    ],
92
                    ]
98
                ]
93
                ]
99
            ],
94
            ],
100
            
95
 
101
            'crypto' => [
96
            'crypto' => [
102
                'type' => Segment::class,
97
                'type' => Segment::class,
103
                'options' => [
98
                'options' => [
104
                    'route' => '/crypto',
99
                    'route' => '/crypto',
105
                    'defaults' => [
100
                    'defaults' => [
106
                        'controller' => '\LeadersLinked\Controller\HomeController',
101
                        'controller' => '\LeadersLinked\Controller\HomeController',
107
                        'action' => 'crypto',
102
                        'action' => 'crypto'
108
                    ],
103
                    ]
109
                ],
104
                ],
110
                'may_terminate' => true,
105
                'may_terminate' => true
111
            ],
106
            ],
112
            
107
 
113
            'storage' => [
108
            'storage' => [
114
                'type' => Segment::class,
109
                'type' => Segment::class,
115
                'options' => [
110
                'options' => [
116
                    'route' => '/storage/:code',
111
                    'route' => '/storage/:code',
117
                    'constraints' => [
112
                    'constraints' => [
118
                        'code' => '[A-Za-z0-9]+',
113
                        'code' => '[A-Za-z0-9]+'
119
                    ],
114
                    ],
120
                    'defaults' => [
115
                    'defaults' => [
121
                        'controller' => '\LeadersLinked\Controller\HomeController',
116
                        'controller' => '\LeadersLinked\Controller\HomeController',
122
                        'action' => 'storage',
117
                        'action' => 'storage'
123
                    ],
118
                    ]
124
                ],
119
                ],
125
                'may_terminate' => true,
120
                'may_terminate' => true
Línea 126... Línea 121...
126
            ],
121
            ],
127
 
122
 
128
            'share' => [
123
            'share' => [
Línea 133... Línea 128...
133
                        'type' => 'feed|post',
128
                        'type' => 'feed|post',
134
                        'code' => '[A-Za-z0-9\-]+\=*',
129
                        'code' => '[A-Za-z0-9\-]+\=*',
135
                        'user' => '[A-Za-z0-9\-]+\=*',
130
                        'user' => '[A-Za-z0-9\-]+\=*',
136
                        'timestamp' => '[0-9]*',
131
                        'timestamp' => '[0-9]*',
137
                        'rand' => '[0-9]*',
132
                        'rand' => '[0-9]*',
138
                        'password' => '[A-Za-z0-9]*',
133
                        'password' => '[A-Za-z0-9]*'
139
                    ],
134
                    ],
140
                    'defaults' => [
135
                    'defaults' => [
141
                        'controller' => '\LeadersLinked\Controller\HomeController',
136
                        'controller' => '\LeadersLinked\Controller\HomeController',
142
                        'action' => 'share',
137
                        'action' => 'share'
143
                    ],
138
                    ]
144
                ],
139
                ],
145
                'may_terminate' => true,
140
                'may_terminate' => true,
146
                'child_routes' => [
141
                'child_routes' => [
147
                    'increment-external-counter' => [
142
                    'increment-external-counter' => [
148
                        'type' => Segment::class,
143
                        'type' => Segment::class,
149
                        'options' => [
144
                        'options' => [
150
                            'route' => '/increment-external-counter',
145
                            'route' => '/increment-external-counter',
151
                            'defaults' => [
146
                            'defaults' => [
152
                                'controller' => '\LeadersLinked\Controller\HomeController',
147
                                'controller' => '\LeadersLinked\Controller\HomeController',
153
                                'action' => 'incTotalExternalShared',
148
                                'action' => 'incTotalExternalShared'
154
                            ],
149
                            ]
155
                        ],
150
                        ]
156
                    ],
151
                    ]
157
                ]
152
                ]
158
            ],
153
            ],
159
            
-
 
160
            
154
 
161
            'shorter' => [
155
            'shorter' => [
162
                'type' => Segment::class,
156
                'type' => Segment::class,
163
                'options' => [
157
                'options' => [
164
                    'route' => '/shorter/:code',
158
                    'route' => '/shorter/:code',
165
                    'constraints' => [
159
                    'constraints' => [
166
                        'code' => '[A-Za-z0-9\-]+\=*',
160
                        'code' => '[A-Za-z0-9\-]+\=*'
167
                    ],
161
                    ],
168
                    'defaults' => [
162
                    'defaults' => [
169
                        'controller' => '\LeadersLinked\Controller\ShorterController',
163
                        'controller' => '\LeadersLinked\Controller\ShorterController',
170
                        'action' => 'index'
164
                        'action' => 'index'
171
                    ]
165
                    ]
Línea 175... Línea 169...
175
                    'generate' => [
169
                    'generate' => [
176
                        'type' => Segment::class,
170
                        'type' => Segment::class,
177
                        'options' => [
171
                        'options' => [
178
                            'route' => '/generate/:type',
172
                            'route' => '/generate/:type',
179
                            'constraints' => [
173
                            'constraints' => [
180
                                'type' => 'feed|post',
174
                                'type' => 'feed|post'
181
 
-
 
182
                            ],
175
                            ],
183
                            'defaults' => [
176
                            'defaults' => [
184
                                'controller' => '\LeadersLinked\Controller\ShorterController',
177
                                'controller' => '\LeadersLinked\Controller\ShorterController',
185
                                'action' => 'generate'
178
                                'action' => 'generate'
186
                            ]
179
                            ]
187
                        ]
180
                        ]
188
                    ],
181
                    ]
189
                ]
182
                ]
190
 
-
 
191
            ],
183
            ],
Línea 192... Línea 184...
192
 
184
 
193
            'reset-password' => [
185
            'reset-password' => [
194
                'type' => Segment::class,
186
                'type' => Segment::class,
Línea 295... Línea 287...
295
                        'controller' => '\LeadersLinked\Controller\HomeController',
287
                        'controller' => '\LeadersLinked\Controller\HomeController',
296
                        'action' => 'language'
288
                        'action' => 'language'
297
                    ]
289
                    ]
298
                ]
290
                ]
299
            ],
291
            ],
300
            
292
 
301
            'habits' => [
293
            'habits' => [
302
                'type' => Literal::class,
294
                'type' => Literal::class,
303
                'options' => [
295
                'options' => [
304
                    'route' => '/habits',
296
                    'route' => '/habits',
305
                    'defaults' => [
297
                    'defaults' => [
Línea 316... Línea 308...
316
                            'defaults' => [
308
                            'defaults' => [
317
                                'controller' => '\LeadersLinked\Controller\HabitController',
309
                                'controller' => '\LeadersLinked\Controller\HabitController',
318
                                'action' => 'aspectDailyLog'
310
                                'action' => 'aspectDailyLog'
319
                            ]
311
                            ]
320
                        ],
312
                        ],
321
                        'may_terminate' => true,
313
                        'may_terminate' => true
322
                    ],      
314
                    ],
323
                
-
 
324
                    
315
 
325
                    'values' => [
316
                    'values' => [
326
                        'type' => Literal::class,
317
                        'type' => Literal::class,
327
                        'options' => [
318
                        'options' => [
328
                            'route' => '/values',
319
                            'route' => '/values',
329
                            'defaults' => [
320
                            'defaults' => [
Línea 338... Línea 329...
338
                                'options' => [
329
                                'options' => [
339
                                    'route' => '/add',
330
                                    'route' => '/add',
340
                                    'defaults' => [
331
                                    'defaults' => [
341
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
332
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
342
                                        'action' => 'add'
333
                                        'action' => 'add'
343
                                    ],
334
                                    ]
344
                                ],
335
                                ]
345
                            ],
336
                            ],
346
                            'edit' => [
337
                            'edit' => [
347
                                'type' => Segment::class,
338
                                'type' => Segment::class,
348
                                'options' => [
339
                                'options' => [
349
                                    'route' => '/edit/:id',
340
                                    'route' => '/edit/:id',
350
                                    'constraints' => [
341
                                    'constraints' => [
351
                                        'id' => '[A-Za-z0-9\-]+\=*',
342
                                        'id' => '[A-Za-z0-9\-]+\=*'
352
                                    ],
343
                                    ],
353
                                    'defaults' => [
344
                                    'defaults' => [
354
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
345
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
355
                                        'action' => 'edit'
346
                                        'action' => 'edit'
356
                                    ]
347
                                    ]
Línea 359... Línea 350...
359
                            'delete' => [
350
                            'delete' => [
360
                                'type' => Segment::class,
351
                                'type' => Segment::class,
361
                                'options' => [
352
                                'options' => [
362
                                    'route' => '/delete/:id',
353
                                    'route' => '/delete/:id',
363
                                    'constraints' => [
354
                                    'constraints' => [
364
                                        'id' => '[A-Za-z0-9\-]+\=*',
355
                                        'id' => '[A-Za-z0-9\-]+\=*'
365
                                    ],
356
                                    ],
366
                                    'defaults' => [
357
                                    'defaults' => [
367
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
358
                                        'controller' => '\LeadersLinked\Controller\HabitValueController',
368
                                        'action' => 'delete'
359
                                        'action' => 'delete'
369
                                    ]
360
                                    ]
370
                                ]
361
                                ]
371
                            ],
362
                            ]
372
                        ],        
363
                        ]
373
                    ] ,   
364
                    ],
374
                    
365
 
375
                    'paradigms' => [
366
                    'paradigms' => [
376
                        'type' => Literal::class,
367
                        'type' => Literal::class,
377
                        'options' => [
368
                        'options' => [
378
                            'route' => '/paradigms',
369
                            'route' => '/paradigms',
379
                            'defaults' => [
370
                            'defaults' => [
Línea 388... Línea 379...
388
                                'options' => [
379
                                'options' => [
389
                                    'route' => '/add',
380
                                    'route' => '/add',
390
                                    'defaults' => [
381
                                    'defaults' => [
391
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
382
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
392
                                        'action' => 'add'
383
                                        'action' => 'add'
393
                                    ],
384
                                    ]
394
                                ],
385
                                ]
395
                            ],
386
                            ],
396
                            'edit' => [
387
                            'edit' => [
397
                                'type' => Segment::class,
388
                                'type' => Segment::class,
398
                                'options' => [
389
                                'options' => [
399
                                    'route' => '/edit/:id',
390
                                    'route' => '/edit/:id',
400
                                    'constraints' => [
391
                                    'constraints' => [
401
                                        'id' => '[A-Za-z0-9\-]+\=*',
392
                                        'id' => '[A-Za-z0-9\-]+\=*'
402
                                    ],
393
                                    ],
403
                                    'defaults' => [
394
                                    'defaults' => [
404
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
395
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
405
                                        'action' => 'edit'
396
                                        'action' => 'edit'
406
                                    ]
397
                                    ]
Línea 409... Línea 400...
409
                            'delete' => [
400
                            'delete' => [
410
                                'type' => Segment::class,
401
                                'type' => Segment::class,
411
                                'options' => [
402
                                'options' => [
412
                                    'route' => '/delete/:id',
403
                                    'route' => '/delete/:id',
413
                                    'constraints' => [
404
                                    'constraints' => [
414
                                        'id' => '[A-Za-z0-9\-]+\=*',
405
                                        'id' => '[A-Za-z0-9\-]+\=*'
415
                                    ],
406
                                    ],
416
                                    'defaults' => [
407
                                    'defaults' => [
417
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
408
                                        'controller' => '\LeadersLinked\Controller\HabitParadigmController',
418
                                        'action' => 'delete'
409
                                        'action' => 'delete'
419
                                    ]
410
                                    ]
420
                                ]
411
                                ]
421
                            ],
412
                            ]
422
                        ],
413
                        ]
423
                    ] ,   
414
                    ],
424
                    
-
 
425
                    
415
 
426
                    'purposes' => [
416
                    'purposes' => [
427
                        'type' => Literal::class,
417
                        'type' => Literal::class,
428
                        'options' => [
418
                        'options' => [
429
                            'route' => '/purposes',
419
                            'route' => '/purposes',
430
                            'defaults' => [
420
                            'defaults' => [
Línea 439... Línea 429...
439
                                'options' => [
429
                                'options' => [
440
                                    'route' => '/add',
430
                                    'route' => '/add',
441
                                    'defaults' => [
431
                                    'defaults' => [
442
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
432
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
443
                                        'action' => 'add'
433
                                        'action' => 'add'
444
                                    ],
434
                                    ]
445
                                ],
435
                                ]
446
                            ],
436
                            ],
447
                            'edit' => [
437
                            'edit' => [
448
                                'type' => Segment::class,
438
                                'type' => Segment::class,
449
                                'options' => [
439
                                'options' => [
450
                                    'route' => '/edit/:id',
440
                                    'route' => '/edit/:id',
451
                                    'constraints' => [
441
                                    'constraints' => [
452
                                        'id' => '[A-Za-z0-9\-]+\=*',
442
                                        'id' => '[A-Za-z0-9\-]+\=*'
453
                                    ],
443
                                    ],
454
                                    'defaults' => [
444
                                    'defaults' => [
455
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
445
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
456
                                        'action' => 'edit'
446
                                        'action' => 'edit'
457
                                    ]
447
                                    ]
Línea 460... Línea 450...
460
                            'delete' => [
450
                            'delete' => [
461
                                'type' => Segment::class,
451
                                'type' => Segment::class,
462
                                'options' => [
452
                                'options' => [
463
                                    'route' => '/delete/:id',
453
                                    'route' => '/delete/:id',
464
                                    'constraints' => [
454
                                    'constraints' => [
465
                                        'id' => '[A-Za-z0-9\-]+\=*',
455
                                        'id' => '[A-Za-z0-9\-]+\=*'
466
                                    ],
456
                                    ],
467
                                    'defaults' => [
457
                                    'defaults' => [
468
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
458
                                        'controller' => '\LeadersLinked\Controller\HabitPurposeController',
469
                                        'action' => 'delete'
459
                                        'action' => 'delete'
470
                                    ]
460
                                    ]
471
                                ]
461
                                ]
472
                            ],
462
                            ]
473
                        ],
463
                        ]
474
                    ] , 
464
                    ],
475
                    
-
 
476
                    
-
 
477
                    
465
 
478
                    'skills' => [
466
                    'skills' => [
479
                        'type' => Literal::class,
467
                        'type' => Literal::class,
480
                        'options' => [
468
                        'options' => [
481
                            'route' => '/skills',
469
                            'route' => '/skills',
482
                            'defaults' => [
470
                            'defaults' => [
Línea 491... Línea 479...
491
                                'options' => [
479
                                'options' => [
492
                                    'route' => '/add',
480
                                    'route' => '/add',
493
                                    'defaults' => [
481
                                    'defaults' => [
494
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
482
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
495
                                        'action' => 'add'
483
                                        'action' => 'add'
496
                                    ],
484
                                    ]
497
                                ],
485
                                ]
498
                            ],
486
                            ],
499
                            'edit' => [
487
                            'edit' => [
500
                                'type' => Segment::class,
488
                                'type' => Segment::class,
501
                                'options' => [
489
                                'options' => [
502
                                    'route' => '/edit/:id',
490
                                    'route' => '/edit/:id',
503
                                    'constraints' => [
491
                                    'constraints' => [
504
                                        'id' => '[A-Za-z0-9\-]+\=*',
492
                                        'id' => '[A-Za-z0-9\-]+\=*'
505
                                    ],
493
                                    ],
506
                                    'defaults' => [
494
                                    'defaults' => [
507
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
495
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
508
                                        'action' => 'edit'
496
                                        'action' => 'edit'
509
                                    ]
497
                                    ]
Línea 512... Línea 500...
512
                            'delete' => [
500
                            'delete' => [
513
                                'type' => Segment::class,
501
                                'type' => Segment::class,
514
                                'options' => [
502
                                'options' => [
515
                                    'route' => '/delete/:id',
503
                                    'route' => '/delete/:id',
516
                                    'constraints' => [
504
                                    'constraints' => [
517
                                        'id' => '[A-Za-z0-9\-]+\=*',
505
                                        'id' => '[A-Za-z0-9\-]+\=*'
518
                                    ],
506
                                    ],
519
                                    'defaults' => [
507
                                    'defaults' => [
520
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
508
                                        'controller' => '\LeadersLinked\Controller\HabitSkillController',
521
                                        'action' => 'delete'
509
                                        'action' => 'delete'
522
                                    ]
510
                                    ]
Línea 531... Línea 519...
531
                                        'action' => 'index'
519
                                        'action' => 'index'
532
                                    ]
520
                                    ]
533
                                ],
521
                                ],
534
                                'may_terminate' => true,
522
                                'may_terminate' => true,
535
                                'child_routes' => [
523
                                'child_routes' => [
536
          
524
 
537
                                    'add' => [
525
                                    'add' => [
538
                                        'type' => Literal::class,
526
                                        'type' => Literal::class,
539
                                        'options' => [
527
                                        'options' => [
540
                                            'route' => '/add',
528
                                            'route' => '/add',
541
                                            'defaults' => [
529
                                            'defaults' => [
542
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
530
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
543
                                                'action' => 'add'
531
                                                'action' => 'add'
544
                                            ],
532
                                            ]
545
                                        ],
533
                                        ]
546
                                    ],
534
                                    ],
547
                                    'edit' => [
535
                                    'edit' => [
548
                                        'type' => Segment::class,
536
                                        'type' => Segment::class,
549
                                        'options' => [
537
                                        'options' => [
550
                                            'route' => '/edit/:register',
538
                                            'route' => '/edit/:register',
551
                                            'constraints' => [
539
                                            'constraints' => [
552
                                                'registerd'    => '[A-Za-z0-9\-]+\=*',
540
                                                'registerd' => '[A-Za-z0-9\-]+\=*'
553
                                            ],
541
                                            ],
554
                                            'defaults' => [
542
                                            'defaults' => [
555
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
543
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
556
                                                'action' => 'edit'
544
                                                'action' => 'edit'
557
                                            ]
545
                                            ]
Línea 560... Línea 548...
560
                                    'delete' => [
548
                                    'delete' => [
561
                                        'type' => Segment::class,
549
                                        'type' => Segment::class,
562
                                        'options' => [
550
                                        'options' => [
563
                                            'route' => '/delete/:register',
551
                                            'route' => '/delete/:register',
564
                                            'constraints' => [
552
                                            'constraints' => [
565
                                                'register'    => '[A-Za-z0-9\-]+\=*',
553
                                                'register' => '[A-Za-z0-9\-]+\=*'
566
                                            ],
554
                                            ],
567
                                            'defaults' => [
555
                                            'defaults' => [
568
                                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
556
                                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
569
                                                'action' => 'delete'
557
                                                'action' => 'delete'
570
                                            ]
558
                                            ]
571
                                        ]
559
                                        ]
572
                                    ],
560
                                    ]
573
                                ]
561
                                ]
574
                            ]
562
                            ]
575
                        ],
563
                        ]
576
                    ] ,   
564
                    ],
577
 
-
 
Línea 578... Línea 565...
578
 
565
 
579
                    'goals' => [
566
                    'goals' => [
580
                        'type' => Literal::class,
567
                        'type' => Literal::class,
581
                        'options' => [
568
                        'options' => [
Línea 592... Línea 579...
592
                                'options' => [
579
                                'options' => [
593
                                    'route' => '/add',
580
                                    'route' => '/add',
594
                                    'defaults' => [
581
                                    'defaults' => [
595
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
582
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
596
                                        'action' => 'add'
583
                                        'action' => 'add'
597
                                    ],
584
                                    ]
598
                                ],
585
                                ]
599
                            ],
586
                            ],
600
                            'edit' => [
587
                            'edit' => [
601
                                'type' => Segment::class,
588
                                'type' => Segment::class,
602
                                'options' => [
589
                                'options' => [
603
                                    'route' => '/edit/:id',
590
                                    'route' => '/edit/:id',
604
                                    'constraints' => [
591
                                    'constraints' => [
605
                                        'id' => '[A-Za-z0-9\-]+\=*',
592
                                        'id' => '[A-Za-z0-9\-]+\=*'
606
                                    ],
593
                                    ],
607
                                    'defaults' => [
594
                                    'defaults' => [
608
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
595
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
609
                                        'action' => 'edit'
596
                                        'action' => 'edit'
610
                                    ]
597
                                    ]
Línea 613... Línea 600...
613
                            'delete' => [
600
                            'delete' => [
614
                                'type' => Segment::class,
601
                                'type' => Segment::class,
615
                                'options' => [
602
                                'options' => [
616
                                    'route' => '/delete/:id',
603
                                    'route' => '/delete/:id',
617
                                    'constraints' => [
604
                                    'constraints' => [
618
                                        'id' => '[A-Za-z0-9\-]+\=*',
605
                                        'id' => '[A-Za-z0-9\-]+\=*'
619
                                    ],
606
                                    ],
620
                                    'defaults' => [
607
                                    'defaults' => [
621
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
608
                                        'controller' => '\LeadersLinked\Controller\HabitGoalController',
622
                                        'action' => 'delete'
609
                                        'action' => 'delete'
623
                                    ]
610
                                    ]
624
                                ]
611
                                ]
625
                            ],
612
                            ]
626
                        ],
613
                        ]
627
                    ] , 
614
                    ]
628
                            
-
 
629
                            
-
 
630
                ],
615
                ]
631
            ],   
616
            ],
632
            
-
 
Línea 633... Línea 617...
633
 
617
 
634
            'post' => [
618
            'post' => [
635
                'type' => Segment::class,
619
                'type' => Segment::class,
636
                'options' => [
620
                'options' => [
637
                    'route' => '/post/:id',
621
                    'route' => '/post/:id',
638
                    'constraints' => [
622
                    'constraints' => [
639
                        'id' => '[A-Za-z0-9\-]+\=*',
623
                        'id' => '[A-Za-z0-9\-]+\=*'
640
                    ],
624
                    ],
641
                    'defaults' => [
625
                    'defaults' => [
642
                        'controller' => '\LeadersLinked\Controller\PostController',
626
                        'controller' => '\LeadersLinked\Controller\PostController',
643
                        'action' => 'view'
627
                        'action' => 'view'
Línea 679... Línea 663...
679
                            'delete' => [
663
                            'delete' => [
680
                                'type' => Segment::class,
664
                                'type' => Segment::class,
681
                                'options' => [
665
                                'options' => [
682
                                    'route' => '/delete/:comment',
666
                                    'route' => '/delete/:comment',
683
                                    'constraints' => [
667
                                    'constraints' => [
684
                                        'comment' => '[A-Za-z0-9\-]+\=*',
668
                                        'comment' => '[A-Za-z0-9\-]+\=*'
685
                                    ],
669
                                    ],
686
                                    'defaults' => [
670
                                    'defaults' => [
687
                                        'controller' => '\LeadersLinked\Controller\PostController',
671
                                        'controller' => '\LeadersLinked\Controller\PostController',
688
                                        'action' => 'commentsDelete'
672
                                        'action' => 'commentsDelete'
689
                                    ]
673
                                    ]
690
                                ]
674
                                ]
691
                            ],
675
                            ]
692
                        ],
676
                        ]
693
                    ],
677
                    ],
694
                    'save-reaction' => [
678
                    'save-reaction' => [
695
                        'type' => Segment::class,
679
                        'type' => Segment::class,
696
                        'options' => [
680
                        'options' => [
697
                            'route' => '/save-reaction',
681
                            'route' => '/save-reaction',
Línea 699... Línea 683...
699
                                'controller' => '\LeadersLinked\Controller\PostController',
683
                                'controller' => '\LeadersLinked\Controller\PostController',
700
                                'action' => 'saveReaction'
684
                                'action' => 'saveReaction'
701
                            ]
685
                            ]
702
                        ]
686
                        ]
703
                    ],
687
                    ],
704
                    
688
 
705
                    'delete-reaction' => [
689
                    'delete-reaction' => [
706
                        'type' => Segment::class,
690
                        'type' => Segment::class,
707
                        'options' => [
691
                        'options' => [
708
                            'route' => '/delete-reaction',
692
                            'route' => '/delete-reaction',
709
                            'defaults' => [
693
                            'defaults' => [
710
                                'controller' => '\LeadersLinked\Controller\PostController',
694
                                'controller' => '\LeadersLinked\Controller\PostController',
711
                                'action' => 'deleteReaction'
695
                                'action' => 'deleteReaction'
712
                            ]
696
                            ]
713
                        ]
697
                        ]
714
                    ],
698
                    ]
715
                    
-
 
716
 
-
 
717
                ],
699
                ]
718
 
-
 
719
            ],
700
            ],
720
            'privacy-policy' => [
701
            'privacy-policy' => [
721
                'type' => Literal::class,
702
                'type' => Literal::class,
722
                'options' => [
703
                'options' => [
723
                    'route' => '/privacy-policy',
704
                    'route' => '/privacy-policy',
Línea 781... Línea 762...
781
                    'view' => [
762
                    'view' => [
782
                        'type' => Segment::class,
763
                        'type' => Segment::class,
783
                        'options' => [
764
                        'options' => [
784
                            'route' => '/view/:id',
765
                            'route' => '/view/:id',
785
                            'constraints' => [
766
                            'constraints' => [
786
                                'id' => '[A-Za-z0-9\-]+\=*',
767
                                'id' => '[A-Za-z0-9\-]+\=*'
787
                            ],
768
                            ],
788
                            'defaults' => [
769
                            'defaults' => [
789
                                'controller' => '\LeadersLinked\Controller\AbuseReportController',
770
                                'controller' => '\LeadersLinked\Controller\AbuseReportController',
790
                                'action' => 'view'
771
                                'action' => 'view'
791
                            ]
772
                            ]
792
                        ]
773
                        ]
793
                    ],
774
                    ]
794
                ],
775
                ]
795
            ],    
776
            ],
796
            'notifications' => [
777
            'notifications' => [
797
                'type' => Literal::class,
778
                'type' => Literal::class,
798
                'options' => [
779
                'options' => [
799
                    'route' => '/notifications',
780
                    'route' => '/notifications',
800
                    'defaults' => [
781
                    'defaults' => [
Línea 807... Línea 788...
807
                    'mark-read' => [
788
                    'mark-read' => [
808
                        'type' => Segment::class,
789
                        'type' => Segment::class,
809
                        'options' => [
790
                        'options' => [
810
                            'route' => '/mark-read/:id',
791
                            'route' => '/mark-read/:id',
811
                            'constraints' => [
792
                            'constraints' => [
812
                                'id' => '[A-Za-z0-9\-]+\=*',
793
                                'id' => '[A-Za-z0-9\-]+\=*'
813
                            ],
794
                            ],
814
                            'defaults' => [
795
                            'defaults' => [
815
                                'controller' => '\LeadersLinked\Controller\NotificationController',
796
                                'controller' => '\LeadersLinked\Controller\NotificationController',
816
                                'action' => 'markRead'
797
                                'action' => 'markRead'
817
                            ]
798
                            ]
Línea 830... Línea 811...
830
                    'delete' => [
811
                    'delete' => [
831
                        'type' => Segment::class,
812
                        'type' => Segment::class,
832
                        'options' => [
813
                        'options' => [
833
                            'route' => '/delete/:id',
814
                            'route' => '/delete/:id',
834
                            'constraints' => [
815
                            'constraints' => [
835
                                'id' => '[A-Za-z0-9\-]+\=*',
816
                                'id' => '[A-Za-z0-9\-]+\=*'
836
                            ],
817
                            ],
837
                            'defaults' => [
818
                            'defaults' => [
838
                                'controller' => '\LeadersLinked\Controller\NotificationController',
819
                                'controller' => '\LeadersLinked\Controller\NotificationController',
839
                                'action' => 'delete'
820
                                'action' => 'delete'
840
                            ]
821
                            ]
Línea 857... Línea 838...
857
                            'defaults' => [
838
                            'defaults' => [
858
                                'controller' => '\LeadersLinked\Controller\NotificationController',
839
                                'controller' => '\LeadersLinked\Controller\NotificationController',
859
                                'action' => 'unreads'
840
                                'action' => 'unreads'
860
                            ]
841
                            ]
861
                        ]
842
                        ]
862
                    ],
843
                    ]
863
                ]
844
                ]
864
            ],
845
            ],
865
            'impersonate' => [
846
            'impersonate' => [
866
                'type' => Literal::class,
847
                'type' => Literal::class,
867
                'options' => [
848
                'options' => [
Línea 876... Línea 857...
876
                    'execute' => [
857
                    'execute' => [
877
                        'type' => Segment::class,
858
                        'type' => Segment::class,
878
                        'options' => [
859
                        'options' => [
879
                            'route' => '/execute/:id',
860
                            'route' => '/execute/:id',
880
                            'constraints' => [
861
                            'constraints' => [
881
                                'id' => '[A-Za-z0-9\-]+\=*',
862
                                'id' => '[A-Za-z0-9\-]+\=*'
882
                            ],
863
                            ],
883
                            'defaults' => [
864
                            'defaults' => [
884
                                'controller' => '\LeadersLinked\Controller\ImpersonateController',
865
                                'controller' => '\LeadersLinked\Controller\ImpersonateController',
885
                                'action' => 'execute'
866
                                'action' => 'execute'
886
                            ]
867
                            ]
887
                        ]
868
                        ]
888
                    ],
869
                    ]
889
                ]
870
                ]
890
            ],
871
            ],
Línea 891... Línea 872...
891
 
872
 
892
            'my-coach' => [
873
            'my-coach' => [
Línea 905... Línea 886...
905
                        'options' => [
886
                        'options' => [
906
                            'route' => '/questions',
887
                            'route' => '/questions',
907
                            'defaults' => [
888
                            'defaults' => [
908
                                'controller' => '\LeadersLinked\Controller\MyCoachController',
889
                                'controller' => '\LeadersLinked\Controller\MyCoachController',
909
                                'action' => 'questions'
890
                                'action' => 'questions'
910
                            ],
891
                            ]
911
                        ],
892
                        ],
912
                        'may_terminate' => true,
893
                        'may_terminate' => true,
913
                        'child_routes' => [
894
                        'child_routes' => [
914
                            'add' => [
895
                            'add' => [
915
                                'type' => Literal::class,
896
                                'type' => Literal::class,
916
                                'options' => [
897
                                'options' => [
917
                                    'route' => '/add',
898
                                    'route' => '/add',
918
                                    'defaults' => [
899
                                    'defaults' => [
919
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
900
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
920
                                        'action' => 'addQuestion'
901
                                        'action' => 'addQuestion'
921
                                    ],
902
                                    ]
922
                                ],
903
                                ]
923
                            ],
904
                            ],
924
                            'reactions' => [
905
                            'reactions' => [
925
                                'type' => Segment::class,
906
                                'type' => Segment::class,
926
                                'options' => [
907
                                'options' => [
927
                                    'route' => '/reactions/:id',
908
                                    'route' => '/reactions/:id',
928
                                    'constraints' => [
909
                                    'constraints' => [
929
                                        'id' => '[A-Za-z0-9\-]+\=*',
910
                                        'id' => '[A-Za-z0-9\-]+\=*'
930
                                    ],
911
                                    ],
931
                                    'defaults' => [
912
                                    'defaults' => [
932
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
913
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
933
                                        'action' => 'reactions'
914
                                        'action' => 'reactions'
934
                                    ]
915
                                    ]
Línea 937... Línea 918...
937
                            'view' => [
918
                            'view' => [
938
                                'type' => Segment::class,
919
                                'type' => Segment::class,
939
                                'options' => [
920
                                'options' => [
940
                                    'route' => '/view/:id',
921
                                    'route' => '/view/:id',
941
                                    'constraints' => [
922
                                    'constraints' => [
942
                                        'id' => '[A-Za-z0-9\-]+\=*',
923
                                        'id' => '[A-Za-z0-9\-]+\=*'
943
                                    ],
924
                                    ],
944
                                    'defaults' => [
925
                                    'defaults' => [
945
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
926
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
946
                                        'action' => 'viewQuestion'
927
                                        'action' => 'viewQuestion'
947
                                    ]
928
                                    ]
Línea 950... Línea 931...
950
                            'edit' => [
931
                            'edit' => [
951
                                'type' => Segment::class,
932
                                'type' => Segment::class,
952
                                'options' => [
933
                                'options' => [
953
                                    'route' => '/edit/:id',
934
                                    'route' => '/edit/:id',
954
                                    'constraints' => [
935
                                    'constraints' => [
955
                                        'id' => '[A-Za-z0-9\-]+\=*',
936
                                        'id' => '[A-Za-z0-9\-]+\=*'
956
                                    ],
937
                                    ],
957
                                    'defaults' => [
938
                                    'defaults' => [
958
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
939
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
959
                                        'action' => 'editQuestion'
940
                                        'action' => 'editQuestion'
960
                                    ]
941
                                    ]
Línea 963... Línea 944...
963
                            'delete' => [
944
                            'delete' => [
964
                                'type' => Segment::class,
945
                                'type' => Segment::class,
965
                                'options' => [
946
                                'options' => [
966
                                    'route' => '/delete/:id',
947
                                    'route' => '/delete/:id',
967
                                    'constraints' => [
948
                                    'constraints' => [
968
                                        'id' => '[A-Za-z0-9\-]+\=*',
949
                                        'id' => '[A-Za-z0-9\-]+\=*'
969
                                    ],
950
                                    ],
970
                                    'defaults' => [
951
                                    'defaults' => [
971
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
952
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
972
                                        'action' => 'deleteQuestion'
953
                                        'action' => 'deleteQuestion'
973
                                    ]
954
                                    ]
Línea 976... Línea 957...
976
                            'reaction' => [
957
                            'reaction' => [
977
                                'type' => Segment::class,
958
                                'type' => Segment::class,
978
                                'options' => [
959
                                'options' => [
979
                                    'route' => '/reaction/:id',
960
                                    'route' => '/reaction/:id',
980
                                    'constraints' => [
961
                                    'constraints' => [
981
                                        'id' => '[A-Za-z0-9\-]+\=*',
962
                                        'id' => '[A-Za-z0-9\-]+\=*'
982
                                    ],
963
                                    ],
983
                                    'defaults' => [
964
                                    'defaults' => [
984
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
965
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
985
                                        'action' => 'reaction'
966
                                        'action' => 'reaction'
986
                                    ]
967
                                    ]
Línea 992... Línea 973...
992
                                        'options' => [
973
                                        'options' => [
993
                                            'route' => '/save',
974
                                            'route' => '/save',
994
                                            'defaults' => [
975
                                            'defaults' => [
995
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
976
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
996
                                                'action' => 'saveReaction'
977
                                                'action' => 'saveReaction'
997
                                            ],
978
                                            ]
998
                                        ],
979
                                        ]
999
                                    ],
980
                                    ],
1000
                                    'delete' => [
981
                                    'delete' => [
1001
                                        'type' =>Literal::class,
982
                                        'type' => Literal::class,
1002
                                        'options' => [
983
                                        'options' => [
1003
                                            'route' => '/delete',
984
                                            'route' => '/delete',
1004
                                            'defaults' => [
985
                                            'defaults' => [
1005
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
986
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1006
                                                'action' => 'deleteReaction'
987
                                                'action' => 'deleteReaction'
1007
                                            ]
988
                                            ]
1008
                                        ]
989
                                        ]
1009
                                    ],
990
                                    ]
1010
                                ]
991
                                ]
1011
                            ],
992
                            ],
1012
                            'answers' => [
993
                            'answers' => [
1013
                                'type' => Segment::class,
994
                                'type' => Segment::class,
1014
                                'options' => [
995
                                'options' => [
1015
                                    'route' => '/answers/:id',
996
                                    'route' => '/answers/:id',
1016
                                    'constraints' => [
997
                                    'constraints' => [
1017
                                        'id' => '[A-Za-z0-9\-]+\=*',
998
                                        'id' => '[A-Za-z0-9\-]+\=*'
1018
                                    ],
999
                                    ],
1019
                                    'defaults' => [
1000
                                    'defaults' => [
1020
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1001
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1021
                                        'action' => 'answers'
1002
                                        'action' => 'answers'
1022
                                    ]
1003
                                    ]
Línea 1028... Línea 1009...
1028
                                        'options' => [
1009
                                        'options' => [
1029
                                            'route' => '/add',
1010
                                            'route' => '/add',
1030
                                            'defaults' => [
1011
                                            'defaults' => [
1031
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1012
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1032
                                                'action' => 'addAnswer'
1013
                                                'action' => 'addAnswer'
1033
                                            ],
1014
                                            ]
1034
                                        ],
1015
                                        ]
1035
                                    ],
1016
                                    ],
Línea 1036... Línea 1017...
1036
 
1017
 
1037
                                    'edit' => [
1018
                                    'edit' => [
1038
                                        'type' => Segment::class,
1019
                                        'type' => Segment::class,
1039
                                        'options' => [
1020
                                        'options' => [
1040
                                            'route' => '/edit/:answer',
1021
                                            'route' => '/edit/:answer',
1041
                                            'constraints' => [
1022
                                            'constraints' => [
1042
                                                'answer' => '[A-Za-z0-9\-]+\=*',
1023
                                                'answer' => '[A-Za-z0-9\-]+\=*'
1043
                                            ],
1024
                                            ],
1044
                                            'defaults' => [
1025
                                            'defaults' => [
1045
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1026
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1046
                                                'action' => 'editAnswer'
1027
                                                'action' => 'editAnswer'
Línea 1050... Línea 1031...
1050
                                    'delete' => [
1031
                                    'delete' => [
1051
                                        'type' => Segment::class,
1032
                                        'type' => Segment::class,
1052
                                        'options' => [
1033
                                        'options' => [
1053
                                            'route' => '/delete/:answer',
1034
                                            'route' => '/delete/:answer',
1054
                                            'constraints' => [
1035
                                            'constraints' => [
1055
                                                'answer' => '[A-Za-z0-9\-]+\=*',
1036
                                                'answer' => '[A-Za-z0-9\-]+\=*'
1056
                                            ],
1037
                                            ],
1057
                                            'defaults' => [
1038
                                            'defaults' => [
1058
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1039
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
1059
                                                'action' => 'deleteAnswer'
1040
                                                'action' => 'deleteAnswer'
1060
                                            ]
1041
                                            ]
1061
                                        ]
1042
                                        ]
1062
                                    ],
1043
                                    ]
1063
                                ]    
1044
                                ]
1064
                            ],
1045
                            ],
1065
                            
1046
 
1066
                            'comments' => [
1047
                            'comments' => [
1067
                                'type' => Segment::class,
1048
                                'type' => Segment::class,
1068
                                'options' => [
1049
                                'options' => [
1069
                                    'route' => '/comments/:id',
1050
                                    'route' => '/comments/:id',
1070
                                    'constraints' => [
1051
                                    'constraints' => [
1071
                                        'id' => '[A-Za-z0-9\-]+\=*',
1052
                                        'id' => '[A-Za-z0-9\-]+\=*'
1072
                                    ],
1053
                                    ],
1073
                                    'defaults' => [
1054
                                    'defaults' => [
1074
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1055
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
1075
                                        'action' => 'comments'
1056
                                        'action' => 'comments'
1076
                                    ]
1057
                                    ]
Línea 1090... Línea 1071...
1090
                                    'delete' => [
1071
                                    'delete' => [
1091
                                        'type' => Segment::class,
1072
                                        'type' => Segment::class,
1092
                                        'options' => [
1073
                                        'options' => [
1093
                                            'route' => '/delete/:comment',
1074
                                            'route' => '/delete/:comment',
1094
                                            'constraints' => [
1075
                                            'constraints' => [
1095
                                                'comment' => '[A-Za-z0-9\-]+\=*',
1076
                                                'comment' => '[A-Za-z0-9\-]+\=*'
1096
                                            ],
1077
                                            ],
1097
                                            'defaults' => [
1078
                                            'defaults' => [
1098
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
1079
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
1099
                                                'action' => 'deleteComment'
1080
                                                'action' => 'deleteComment'
1100
                                            ]
1081
                                            ]
1101
                                        ]
1082
                                        ]
1102
                                    ],
1083
                                    ]
1103
                                ]    
1084
                                ]
1104
                            ],
1085
                            ]
1105
                        ]    
1086
                        ]
1106
                    ],
1087
                    ]
1107
                ],
1088
                ]
1108
            ],
1089
            ],
Línea 1109... Línea 1090...
1109
 
1090
 
1110
            'knowledge-area' => [
1091
            'knowledge-area' => [
1111
                'type' => Literal::class,
1092
                'type' => Literal::class,
Línea 1123... Línea 1104...
1123
                        'options' => [
1104
                        'options' => [
1124
                            'route' => '/add',
1105
                            'route' => '/add',
1125
                            'defaults' => [
1106
                            'defaults' => [
1126
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1107
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1127
                                'action' => 'add'
1108
                                'action' => 'add'
1128
                            ],
1109
                            ]
1129
                        ],
1110
                        ]
1130
                    ],
1111
                    ],
1131
                    'edit' => [
1112
                    'edit' => [
1132
                        'type' => Segment::class,
1113
                        'type' => Segment::class,
1133
                        'options' => [
1114
                        'options' => [
1134
                            'route' => '/edit/:id',
1115
                            'route' => '/edit/:id',
1135
                            'constraints' => [
1116
                            'constraints' => [
1136
                                'id' => '[A-Za-z0-9\-]+\=*',
1117
                                'id' => '[A-Za-z0-9\-]+\=*'
1137
                            ],
1118
                            ],
1138
                            'defaults' => [
1119
                            'defaults' => [
1139
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1120
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1140
                                'action' => 'edit'
1121
                                'action' => 'edit'
1141
                            ]
1122
                            ]
Línea 1144... Línea 1125...
1144
                    'delete' => [
1125
                    'delete' => [
1145
                        'type' => Segment::class,
1126
                        'type' => Segment::class,
1146
                        'options' => [
1127
                        'options' => [
1147
                            'route' => '/delete/:id',
1128
                            'route' => '/delete/:id',
1148
                            'constraints' => [
1129
                            'constraints' => [
1149
                                'id' => '[A-Za-z0-9\-]+\=*',
1130
                                'id' => '[A-Za-z0-9\-]+\=*'
1150
                            ],
1131
                            ],
1151
                            'defaults' => [
1132
                            'defaults' => [
1152
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1133
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1153
                                'action' => 'delete'
1134
                                'action' => 'delete'
1154
                            ]
1135
                            ]
Línea 1157... Línea 1138...
1157
                    'view' => [
1138
                    'view' => [
1158
                        'type' => Segment::class,
1139
                        'type' => Segment::class,
1159
                        'options' => [
1140
                        'options' => [
1160
                            'route' => '/view/:id',
1141
                            'route' => '/view/:id',
1161
                            'constraints' => [
1142
                            'constraints' => [
1162
                                'id' => '[A-Za-z0-9\-]+\=*',
1143
                                'id' => '[A-Za-z0-9\-]+\=*'
1163
                            ],
1144
                            ],
1164
                            'defaults' => [
1145
                            'defaults' => [
1165
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1146
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1166
                                'action' => 'view'
1147
                                'action' => 'view'
1167
                            ]
1148
                            ]
Línea 1170... Línea 1151...
1170
                    'reactions' => [
1151
                    'reactions' => [
1171
                        'type' => Segment::class,
1152
                        'type' => Segment::class,
1172
                        'options' => [
1153
                        'options' => [
1173
                            'route' => '/reactions/:id',
1154
                            'route' => '/reactions/:id',
1174
                            'constraints' => [
1155
                            'constraints' => [
1175
                                'id' => '[A-Za-z0-9\-]+\=*',
1156
                                'id' => '[A-Za-z0-9\-]+\=*'
1176
                            ],
1157
                            ],
1177
                            'defaults' => [
1158
                            'defaults' => [
1178
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1159
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1179
                                'action' => 'reactions'
1160
                                'action' => 'reactions'
1180
                            ]
1161
                            ]
Línea 1183... Línea 1164...
1183
                    'comments' => [
1164
                    'comments' => [
1184
                        'type' => Segment::class,
1165
                        'type' => Segment::class,
1185
                        'options' => [
1166
                        'options' => [
1186
                            'route' => '/comments/:id',
1167
                            'route' => '/comments/:id',
1187
                            'constraints' => [
1168
                            'constraints' => [
1188
                                'id' => '[A-Za-z0-9\-]+\=*',
1169
                                'id' => '[A-Za-z0-9\-]+\=*'
1189
                            ],
1170
                            ],
1190
                            'defaults' => [
1171
                            'defaults' => [
1191
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1172
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1192
                                'action' => 'comments'
1173
                                'action' => 'comments'
1193
                            ]
1174
                            ]
Línea 1207... Línea 1188...
1207
                            'delete' => [
1188
                            'delete' => [
1208
                                'type' => Segment::class,
1189
                                'type' => Segment::class,
1209
                                'options' => [
1190
                                'options' => [
1210
                                    'route' => '/delete/:comment',
1191
                                    'route' => '/delete/:comment',
1211
                                    'constraints' => [
1192
                                    'constraints' => [
1212
                                        'comment' => '[A-Za-z0-9\-]+\=*',
1193
                                        'comment' => '[A-Za-z0-9\-]+\=*'
1213
                                    ],
1194
                                    ],
1214
                                    'defaults' => [
1195
                                    'defaults' => [
1215
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1196
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1216
                                        'action' => 'deleteComment'
1197
                                        'action' => 'deleteComment'
1217
                                    ]
1198
                                    ]
1218
                                ]
1199
                                ]
1219
                            ],
1200
                            ]
1220
                        ]    
1201
                        ]
1221
                    ],
1202
                    ],
1222
                    'save-reaction' => [
1203
                    'save-reaction' => [
1223
                        'type' => Segment::class,
1204
                        'type' => Segment::class,
1224
                        'options' => [
1205
                        'options' => [
1225
                            'route' => '/save-reaction/:id',
1206
                            'route' => '/save-reaction/:id',
1226
                            'constraints' => [
1207
                            'constraints' => [
1227
                                'id' => '[A-Za-z0-9\-]+\=*',
1208
                                'id' => '[A-Za-z0-9\-]+\=*'
1228
                            ],
1209
                            ],
1229
                            'defaults' => [
1210
                            'defaults' => [
1230
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1211
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1231
                                'action' => 'saveReaction'
1212
                                'action' => 'saveReaction'
1232
                            ]
1213
                            ]
Línea 1235... Línea 1216...
1235
                    'delete-reaction' => [
1216
                    'delete-reaction' => [
1236
                        'type' => Segment::class,
1217
                        'type' => Segment::class,
1237
                        'options' => [
1218
                        'options' => [
1238
                            'route' => '/delete-reaction/:id',
1219
                            'route' => '/delete-reaction/:id',
1239
                            'constraints' => [
1220
                            'constraints' => [
1240
                                'id' => '[A-Za-z0-9\-]+\=*',
1221
                                'id' => '[A-Za-z0-9\-]+\=*'
1241
                            ],
1222
                            ],
1242
                            'defaults' => [
1223
                            'defaults' => [
1243
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1224
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
1244
                                'action' => 'deleteReaction'
1225
                                'action' => 'deleteReaction'
1245
                            ]
1226
                            ]
1246
                        ]
1227
                        ]
1247
                    ],
1228
                    ]
1248
 
-
 
1249
                ],
1229
                ]
1250
            ],
1230
            ],
1251
            
-
 
1252
            
1231
 
1253
            'backend' => [
1232
            'backend' => [
1254
                'type' => Literal::class,
1233
                'type' => Literal::class,
1255
                'options' => [
1234
                'options' => [
1256
                    'route' => '/backend',
1235
                    'route' => '/backend',
1257
                    'defaults' => [
1236
                    'defaults' => [
Línea 1266... Línea 1245...
1266
                        'options' => [
1245
                        'options' => [
1267
                            'route' => '/signin-admin',
1246
                            'route' => '/signin-admin',
1268
                            'defaults' => [
1247
                            'defaults' => [
1269
                                'controller' => '\LeadersLinked\Controller\BackendController',
1248
                                'controller' => '\LeadersLinked\Controller\BackendController',
1270
                                'action' => 'signinAdmin'
1249
                                'action' => 'signinAdmin'
1271
                            ],
1250
                            ]
1272
                        ],
1251
                        ]
1273
                    ],
1252
                    ],
1274
                    'signin-company' => [
1253
                    'signin-company' => [
1275
                        'type' => Segment::class,
1254
                        'type' => Segment::class,
1276
                        'options' => [
1255
                        'options' => [
1277
                            'route' => '/signin-company/:id[/relational/:relational/type/:type]',
1256
                            'route' => '/signin-company/:id[/relational/:relational/type/:type]',
1278
                            'constraints' => [
1257
                            'constraints' => [
1279
                                'id' => '[A-Za-z0-9\-]+\=*',
1258
                                'id' => '[A-Za-z0-9\-]+\=*',
1280
                                'relational' => '[A-Za-z0-9\-]+\=*',
1259
                                'relational' => '[A-Za-z0-9\-]+\=*',
1281
                                'type' => '[A-Za-z0-9\-]+\=*',
1260
                                'type' => '[A-Za-z0-9\-]+\=*'
1282
                            ],
1261
                            ],
1283
                            'defaults' => [
1262
                            'defaults' => [
1284
                                'controller' => '\LeadersLinked\Controller\BackendController',
1263
                                'controller' => '\LeadersLinked\Controller\BackendController',
1285
                                'action' => 'signinCompany'
1264
                                'action' => 'signinCompany'
1286
                            ],
1265
                            ]
1287
                        ],
1266
                        ]
1288
                    ],
1267
                    ]
1289
                ]
1268
                ]
1290
            ],
1269
            ],
1291
            'dashboard' => [
1270
            'dashboard' => [
1292
                'type' => Segment::class,
1271
                'type' => Segment::class,
1293
                'options' => [
1272
                'options' => [
1294
                    'route' => '/dashboard[/feed/:feed][/post/:post]',
1273
                    'route' => '/dashboard[/feed/:feed][/post/:post]',
1295
                    'constraints' => [
1274
                    'constraints' => [
1296
                        'feed' => '[A-Za-z0-9\-]+\=*',
1275
                        'feed' => '[A-Za-z0-9\-]+\=*',
1297
                        'post' => '[A-Za-z0-9\-]+\=*',
1276
                        'post' => '[A-Za-z0-9\-]+\=*'
1298
                    ],
1277
                    ],
1299
                    'defaults' => [
1278
                    'defaults' => [
1300
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1279
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1301
                        'action' => 'index'
1280
                        'action' => 'index'
1302
                    ]
1281
                    ]
1303
                ]
1282
                ]
1304
            ],
1283
            ],
1305
           
1284
 
1306
            'paypal' => [
1285
            'paypal' => [
1307
                'type' => Literal::class,
1286
                'type' => Literal::class,
1308
                'options' => [
1287
                'options' => [
1309
                    'route' => '/paypal',
1288
                    'route' => '/paypal',
1310
                    'defaults' => [
1289
                    'defaults' => [
Línea 1318... Línea 1297...
1318
                        'type' => Literal::class,
1297
                        'type' => Literal::class,
1319
                        'options' => [
1298
                        'options' => [
1320
                            'route' => '/success',
1299
                            'route' => '/success',
1321
                            'defaults' => [
1300
                            'defaults' => [
1322
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1301
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1323
                                'action' => 'success',
1302
                                'action' => 'success'
1324
                            ],
1303
                            ]
1325
                        ],
1304
                        ]
1326
                    ],
1305
                    ],
1327
                    'cancel' => [
1306
                    'cancel' => [
1328
                        'type' => Literal::class,
1307
                        'type' => Literal::class,
1329
                        'options' => [
1308
                        'options' => [
1330
                            'route' => '/cancel',
1309
                            'route' => '/cancel',
1331
                            'defaults' => [
1310
                            'defaults' => [
1332
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1311
                                'controller' => '\LeadersLinked\Controller\PaypalController',
1333
                                'action' => 'cancel',
1312
                                'action' => 'cancel'
1334
                            ],
1313
                            ]
1335
                        ],
1314
                        ]
1336
                    ],
1315
                    ]
1337
                ]
1316
                ]
1338
            ],
1317
            ],
1339
            'chat' => [
1318
            'chat' => [
1340
                'type' => Literal::class,
1319
                'type' => Literal::class,
1341
                'options' => [
1320
                'options' => [
Línea 1353... Línea 1332...
1353
                        'type' => Literal::class,
1332
                        'type' => Literal::class,
1354
                        'options' => [
1333
                        'options' => [
1355
                            'route' => '/users',
1334
                            'route' => '/users',
1356
                            'defaults' => [
1335
                            'defaults' => [
1357
                                'controller' => '\LeadersLinked\Controller\ChatController',
1336
                                'controller' => '\LeadersLinked\Controller\ChatController',
1358
                                'action' => 'users',
1337
                                'action' => 'users'
1359
                            ],
1338
                            ]
1360
                        ],
1339
                        ]
1361
                    ],
1340
                    ],
Línea 1362... Línea 1341...
1362
 
1341
 
1363
                    'heart-beat' => [
1342
                    'heart-beat' => [
1364
                        'type' => Literal::class,
1343
                        'type' => Literal::class,
1365
                        'options' => [
1344
                        'options' => [
1366
                            'route' => '/heart-beat',
1345
                            'route' => '/heart-beat',
1367
                            'defaults' => [
1346
                            'defaults' => [
1368
                                'controller' => '\LeadersLinked\Controller\ChatController',
1347
                                'controller' => '\LeadersLinked\Controller\ChatController',
1369
                                'action' => 'heartBeat',
1348
                                'action' => 'heartBeat'
1370
                            ],
1349
                            ]
1371
                        ],
1350
                        ]
1372
                    ],
1351
                    ],
1373
                    'create-group' => [
1352
                    'create-group' => [
1374
                        'type' => Literal::class,
1353
                        'type' => Literal::class,
1375
                        'options' => [
1354
                        'options' => [
1376
                            'route' => '/create-group',
1355
                            'route' => '/create-group',
1377
                            'defaults' => [
1356
                            'defaults' => [
1378
                                'controller' => '\LeadersLinked\Controller\ChatController',
1357
                                'controller' => '\LeadersLinked\Controller\ChatController',
1379
                                'action' => 'createGroup',
1358
                                'action' => 'createGroup'
1380
                            ],
1359
                            ]
1381
                        ],
1360
                        ]
1382
                    ],
1361
                    ],
1383
                    'zoom' => [
1362
                    'zoom' => [
1384
                        'type' => Segment::class,
1363
                        'type' => Segment::class,
1385
                        'options' => [
1364
                        'options' => [
1386
                            'route' => '/zoom/:id',
1365
                            'route' => '/zoom/:id',
1387
                            'constraints' => [
1366
                            'constraints' => [
1388
                                'id' => '[A-Za-z0-9\-]+\=*',
1367
                                'id' => '[A-Za-z0-9\-]+\=*'
1389
                            ],
1368
                            ],
1390
                            'defaults' => [
1369
                            'defaults' => [
1391
                                'controller' => '\LeadersLinked\Controller\ChatController',
1370
                                'controller' => '\LeadersLinked\Controller\ChatController',
1392
                                'action' => 'zoom',
1371
                                'action' => 'zoom'
1393
                            ],
1372
                            ]
1394
                        ],
1373
                        ]
1395
                    ],
1374
                    ],
1396
                    'open-or-create' => [
1375
                    'open-or-create' => [
1397
                        'type' => Segment::class,
1376
                        'type' => Segment::class,
1398
                        'options' => [
1377
                        'options' => [
1399
                            'route' => '/open-or-create/:id',
1378
                            'route' => '/open-or-create/:id',
1400
                            'constraints' => [
1379
                            'constraints' => [
1401
                                'id' => '[A-Za-z0-9\-]+\=*',
1380
                                'id' => '[A-Za-z0-9\-]+\=*'
1402
                            ],
1381
                            ],
1403
                            'defaults' => [
1382
                            'defaults' => [
1404
                                'controller' => '\LeadersLinked\Controller\ChatController',
1383
                                'controller' => '\LeadersLinked\Controller\ChatController',
1405
                                'action' => 'openOrCreate',
1384
                                'action' => 'openOrCreate'
1406
                            ],
1385
                            ]
1407
                        ],
1386
                        ]
1408
                    ],
1387
                    ],
1409
                    'add-user-to-group' => [
1388
                    'add-user-to-group' => [
1410
                        'type' => Segment::class,
1389
                        'type' => Segment::class,
1411
                        'options' => [
1390
                        'options' => [
1412
                            'route' => '/add-user-to-group/:group_id',
1391
                            'route' => '/add-user-to-group/:group_id',
1413
                            'constraints' => [
1392
                            'constraints' => [
1414
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1393
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1415
                            ],
1394
                            ],
1416
                            'defaults' => [
1395
                            'defaults' => [
1417
                                'controller' => '\LeadersLinked\Controller\ChatController',
1396
                                'controller' => '\LeadersLinked\Controller\ChatController',
1418
                                'action' => 'addUserToGroup',
1397
                                'action' => 'addUserToGroup'
1419
                            ],
1398
                            ]
1420
                        ],
1399
                        ]
1421
                    ],
1400
                    ],
1422
                    'mark-seen' => [
1401
                    'mark-seen' => [
1423
                        'type' => Segment::class,
1402
                        'type' => Segment::class,
1424
                        'options' => [
1403
                        'options' => [
1425
                            'route' => '/mark-seen/:id',
1404
                            'route' => '/mark-seen/:id',
1426
                            'constraints' => [
1405
                            'constraints' => [
1427
                                'id' => '[A-Za-z0-9\-]+\=*',
1406
                                'id' => '[A-Za-z0-9\-]+\=*'
1428
                            ],
1407
                            ],
1429
                            'defaults' => [
1408
                            'defaults' => [
1430
                                'controller' => '\LeadersLinked\Controller\ChatController',
1409
                                'controller' => '\LeadersLinked\Controller\ChatController',
1431
                                'action' => 'markSeen',
1410
                                'action' => 'markSeen'
1432
                            ],
1411
                            ]
1433
                        ],
1412
                        ]
1434
                    ],
1413
                    ],
1435
                    'mark-received' => [
1414
                    'mark-received' => [
1436
                        'type' => Segment::class,
1415
                        'type' => Segment::class,
1437
                        'options' => [
1416
                        'options' => [
1438
                            'route' => '/mark-received/:id',
1417
                            'route' => '/mark-received/:id',
1439
                            'constraints' => [
1418
                            'constraints' => [
1440
                                'id' => '[A-Za-z0-9\-]+\=*',
1419
                                'id' => '[A-Za-z0-9\-]+\=*'
1441
                            ],
1420
                            ],
1442
                            'defaults' => [
1421
                            'defaults' => [
1443
                                'controller' => '\LeadersLinked\Controller\ChatController',
1422
                                'controller' => '\LeadersLinked\Controller\ChatController',
1444
                                'action' => 'markReceived',
1423
                                'action' => 'markReceived'
1445
                            ],
1424
                            ]
1446
                        ],
1425
                        ]
1447
                    ],
1426
                    ],
1448
                    'remove-user-from-group' => [
1427
                    'remove-user-from-group' => [
1449
                        'type' => Segment::class,
1428
                        'type' => Segment::class,
1450
                        'options' => [
1429
                        'options' => [
1451
                            'route' => '/remove-user-from-group/:group_id/:user_id',
1430
                            'route' => '/remove-user-from-group/:group_id/:user_id',
1452
                            'constraints' => [
1431
                            'constraints' => [
1453
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1432
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1454
                                'user_id' => '[A-Za-z0-9\-]+\=*',
1433
                                'user_id' => '[A-Za-z0-9\-]+\=*'
1455
                            ],
1434
                            ],
1456
                            'defaults' => [
1435
                            'defaults' => [
1457
                                'controller' => '\LeadersLinked\Controller\ChatController',
1436
                                'controller' => '\LeadersLinked\Controller\ChatController',
1458
                                'action' => 'removeUserFromGroup',
1437
                                'action' => 'removeUserFromGroup'
1459
                            ],
1438
                            ]
1460
                        ],
1439
                        ]
1461
                    ],
1440
                    ],
1462
                    'get-all-messages' => [
1441
                    'get-all-messages' => [
1463
                        'type' => Segment::class,
1442
                        'type' => Segment::class,
1464
                        'options' => [
1443
                        'options' => [
1465
                            'route' => '/get-all-messages/:id',
1444
                            'route' => '/get-all-messages/:id',
1466
                            'constraints' => [
1445
                            'constraints' => [
1467
                                'id' => '[A-Za-z0-9\-]+\=*',
1446
                                'id' => '[A-Za-z0-9\-]+\=*'
1468
                            ],
1447
                            ],
1469
                            'defaults' => [
1448
                            'defaults' => [
1470
                                'controller' => '\LeadersLinked\Controller\ChatController',
1449
                                'controller' => '\LeadersLinked\Controller\ChatController',
1471
                                'action' => 'getAllMessages',
1450
                                'action' => 'getAllMessages'
1472
                            ],
1451
                            ]
1473
                        ],
1452
                        ]
1474
                    ],
1453
                    ],
1475
                    'send' => [
1454
                    'send' => [
1476
                        'type' => Segment::class,
1455
                        'type' => Segment::class,
1477
                        'options' => [
1456
                        'options' => [
1478
                            'route' => '/send/:id',
1457
                            'route' => '/send/:id',
1479
                            'constraints' => [
1458
                            'constraints' => [
1480
                                'id' => '[A-Za-z0-9\-]+\=*',
1459
                                'id' => '[A-Za-z0-9\-]+\=*'
1481
                            ],
1460
                            ],
1482
                            'defaults' => [
1461
                            'defaults' => [
1483
                                'controller' => '\LeadersLinked\Controller\ChatController',
1462
                                'controller' => '\LeadersLinked\Controller\ChatController',
1484
                                'action' => 'send',
1463
                                'action' => 'send'
1485
                            ],
1464
                            ]
1486
                        ],
1465
                        ]
1487
                    ],
1466
                    ],
1488
                    'get-contacts-availables-for-group' => [
1467
                    'get-contacts-availables-for-group' => [
1489
                        'type' => Segment::class,
1468
                        'type' => Segment::class,
1490
                        'options' => [
1469
                        'options' => [
1491
                            'route' => '/get-contacts-availables-for-group/:group_id',
1470
                            'route' => '/get-contacts-availables-for-group/:group_id',
1492
                            'constraints' => [
1471
                            'constraints' => [
1493
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1472
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1494
                            ],
1473
                            ],
1495
                            'defaults' => [
1474
                            'defaults' => [
1496
                                'controller' => '\LeadersLinked\Controller\ChatController',
1475
                                'controller' => '\LeadersLinked\Controller\ChatController',
1497
                                'action' => 'contactAvailableGroupList',
1476
                                'action' => 'contactAvailableGroupList'
1498
                            ],
1477
                            ]
1499
                        ],
1478
                        ]
1500
                    ],
1479
                    ],
1501
                    'get-contact-group-list' => [
1480
                    'get-contact-group-list' => [
1502
                        'type' => Segment::class,
1481
                        'type' => Segment::class,
1503
                        'options' => [
1482
                        'options' => [
1504
                            'route' => '/get-contact-group-list/:group_id',
1483
                            'route' => '/get-contact-group-list/:group_id',
1505
                            'constraints' => [
1484
                            'constraints' => [
1506
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1485
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1507
                            ],
1486
                            ],
1508
                            'defaults' => [
1487
                            'defaults' => [
1509
                                'controller' => '\LeadersLinked\Controller\ChatController',
1488
                                'controller' => '\LeadersLinked\Controller\ChatController',
1510
                                'action' => 'contactGroupList',
1489
                                'action' => 'contactGroupList'
1511
                            ],
1490
                            ]
1512
                        ],
1491
                        ]
1513
                    ],
1492
                    ],
1514
                    'leave-group' => [
1493
                    'leave-group' => [
1515
                        'type' => Segment::class,
1494
                        'type' => Segment::class,
1516
                        'options' => [
1495
                        'options' => [
1517
                            'route' => '/leave-group/:group_id',
1496
                            'route' => '/leave-group/:group_id',
1518
                            'constraints' => [
1497
                            'constraints' => [
1519
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1498
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1520
                            ],
1499
                            ],
1521
                            'defaults' => [
1500
                            'defaults' => [
1522
                                'controller' => '\LeadersLinked\Controller\ChatController',
1501
                                'controller' => '\LeadersLinked\Controller\ChatController',
1523
                                'action' => 'leaveGroup',
1502
                                'action' => 'leaveGroup'
1524
                            ],
1503
                            ]
1525
                        ],
1504
                        ]
1526
                    ],
1505
                    ],
1527
                    'delete-group' => [
1506
                    'delete-group' => [
1528
                        'type' => Segment::class,
1507
                        'type' => Segment::class,
1529
                        'options' => [
1508
                        'options' => [
1530
                            'route' => '/delete-group/:group_id',
1509
                            'route' => '/delete-group/:group_id',
1531
                            'constraints' => [
1510
                            'constraints' => [
1532
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1511
                                'group_id' => '[A-Za-z0-9\-]+\=*'
1533
                            ],
1512
                            ],
1534
                            'defaults' => [
1513
                            'defaults' => [
1535
                                'controller' => '\LeadersLinked\Controller\ChatController',
1514
                                'controller' => '\LeadersLinked\Controller\ChatController',
1536
                                'action' => 'deleteGroup',
1515
                                'action' => 'deleteGroup'
1537
                            ],
1516
                            ]
1538
                        ],
1517
                        ]
1539
                    ],
1518
                    ],
1540
                    'open' => [
1519
                    'open' => [
1541
                        'type' => Segment::class,
1520
                        'type' => Segment::class,
1542
                        'options' => [
1521
                        'options' => [
1543
                            'route' => '/open/:id',
1522
                            'route' => '/open/:id',
1544
                            'constraints' => [
1523
                            'constraints' => [
1545
                                'id' => '[A-Za-z0-9\-]+\=*',
1524
                                'id' => '[A-Za-z0-9\-]+\=*'
1546
                            ],
1525
                            ],
1547
                            'defaults' => [
1526
                            'defaults' => [
1548
                                'controller' => '\LeadersLinked\Controller\ChatController',
1527
                                'controller' => '\LeadersLinked\Controller\ChatController',
1549
                                'action' => 'open',
1528
                                'action' => 'open'
1550
                            ],
1529
                            ]
1551
                        ],
1530
                        ]
1552
                    ],
1531
                    ],
1553
                    'close' => [
1532
                    'close' => [
1554
                        'type' => Segment::class,
1533
                        'type' => Segment::class,
1555
                        'options' => [
1534
                        'options' => [
1556
                            'route' => '/close/:id',
1535
                            'route' => '/close/:id',
1557
                            'constraints' => [
1536
                            'constraints' => [
1558
                                'id' => '[A-Za-z0-9\-]+\=*',
1537
                                'id' => '[A-Za-z0-9\-]+\=*'
1559
                            ],
1538
                            ],
1560
                            'defaults' => [
1539
                            'defaults' => [
1561
                                'controller' => '\LeadersLinked\Controller\ChatController',
1540
                                'controller' => '\LeadersLinked\Controller\ChatController',
1562
                                'action' => 'close',
1541
                                'action' => 'close'
1563
                            ],
1542
                            ]
1564
                        ],
1543
                        ]
1565
                    ],
1544
                    ],
1566
                    'clear' => [
1545
                    'clear' => [
1567
                        'type' => Segment::class,
1546
                        'type' => Segment::class,
1568
                        'options' => [
1547
                        'options' => [
1569
                            'route' => '/clear/:id',
1548
                            'route' => '/clear/:id',
1570
                            'constraints' => [
1549
                            'constraints' => [
1571
                                'id' => '[A-Za-z0-9\-]+\=*',
1550
                                'id' => '[A-Za-z0-9\-]+\=*'
1572
                            ],
1551
                            ],
1573
                            'defaults' => [
1552
                            'defaults' => [
1574
                                'controller' => '\LeadersLinked\Controller\ChatController',
1553
                                'controller' => '\LeadersLinked\Controller\ChatController',
1575
                                'action' => 'clear',
1554
                                'action' => 'clear'
1576
                            ],
1555
                            ]
1577
                        ],
1556
                        ]
1578
                    ],
1557
                    ],
1579
                    'upload' => [
1558
                    'upload' => [
1580
                        'type' => Segment::class,
1559
                        'type' => Segment::class,
1581
                        'options' => [
1560
                        'options' => [
1582
                            'route' => '/upload/:id',
1561
                            'route' => '/upload/:id',
1583
                            'constraints' => [
1562
                            'constraints' => [
1584
                                'id' => '[A-Za-z0-9\-]+\=*',
1563
                                'id' => '[A-Za-z0-9\-]+\=*'
1585
                            ],
1564
                            ],
1586
                            'defaults' => [
1565
                            'defaults' => [
1587
                                'controller' => '\LeadersLinked\Controller\ChatController',
1566
                                'controller' => '\LeadersLinked\Controller\ChatController',
1588
                                'action' => 'upload',
1567
                                'action' => 'upload'
1589
                            ],
1568
                            ]
1590
                        ],
1569
                        ]
1591
                    ],
1570
                    ]
1592
                ],
1571
                ]
1593
            ],
1572
            ],
1594
            'calendar' => [
1573
            'calendar' => [
1595
                'type' => Literal::class,
1574
                'type' => Literal::class,
1596
                'options' => [
1575
                'options' => [
Línea 1612... Línea 1591...
1612
                            'defaults' => [
1591
                            'defaults' => [
1613
                                'controller' => '\LeadersLinked\Controller\CalendarController',
1592
                                'controller' => '\LeadersLinked\Controller\CalendarController',
1614
                                'action' => 'events'
1593
                                'action' => 'events'
1615
                            ]
1594
                            ]
1616
                        ]
1595
                        ]
1617
                    ],
1596
                    ]
1618
                ]
1597
                ]
1619
            ],
1598
            ],
Línea 1620... Línea 1599...
1620
 
1599
 
1621
            /*
1600
            /*
Línea 1687... Línea 1666...
1687
                            ]
1666
                            ]
1688
                        ],
1667
                        ],
1689
                        'may_terminate' => true,
1668
                        'may_terminate' => true,
1690
                        'child_routes' => [
1669
                        'child_routes' => [
1691
                            'block' => [
1670
                            'block' => [
1692
                                'type' =>  Segment::class,
1671
                                'type' => Segment::class,
1693
                                'options' => [
1672
                                'options' => [
1694
                                    'route' => '/block/:id',
1673
                                    'route' => '/block/:id',
1695
                                    'constraints' => [
1674
                                    'constraints' => [
1696
                                        'id' => '[A-Za-z0-9\-]+\=*',
1675
                                        'id' => '[A-Za-z0-9\-]+\=*'
1697
                                    ],
1676
                                    ],
1698
                                    'defaults' => [
1677
                                    'defaults' => [
1699
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1678
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1700
                                        'action' => 'blockUser'
1679
                                        'action' => 'blockUser'
1701
                                    ]
1680
                                    ]
1702
                                ]
1681
                                ]
1703
                            ],
1682
                            ]
1704
                        ]
1683
                        ]
1705
                    ],    
1684
                    ],
1706
                    'message' => [
1685
                    'message' => [
1707
                        'type' => Literal::class,
1686
                        'type' => Literal::class,
1708
                        'options' => [
1687
                        'options' => [
1709
                            'route' => '/message',
1688
                            'route' => '/message',
1710
                            'defaults' => [
1689
                            'defaults' => [
Línea 1717... Línea 1696...
1717
                            'send' => [
1696
                            'send' => [
1718
                                'type' => Segment::class,
1697
                                'type' => Segment::class,
1719
                                'options' => [
1698
                                'options' => [
1720
                                    'route' => '/send/:id',
1699
                                    'route' => '/send/:id',
1721
                                    'constraints' => [
1700
                                    'constraints' => [
1722
                                        'id' => '[A-Za-z0-9\-]+\=*',
1701
                                        'id' => '[A-Za-z0-9\-]+\=*'
1723
                                        
-
 
1724
                                    ],
1702
                                    ],
1725
                                    'defaults' => [
1703
                                    'defaults' => [
1726
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1704
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1727
                                        'action' => 'sendMessage'
1705
                                        'action' => 'sendMessage'
1728
                                    ]
1706
                                    ]
Línea 1731... Línea 1709...
1731
                            'delete' => [
1709
                            'delete' => [
1732
                                'type' => Segment::class,
1710
                                'type' => Segment::class,
1733
                                'options' => [
1711
                                'options' => [
1734
                                    'route' => '/delete/:id',
1712
                                    'route' => '/delete/:id',
1735
                                    'constraints' => [
1713
                                    'constraints' => [
1736
                                        'id' => '[0-9]+',
1714
                                        'id' => '[0-9]+'
1737
                                    ],
1715
                                    ],
1738
                                    'defaults' => [
1716
                                    'defaults' => [
1739
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1717
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1740
                                        'action' => 'deleteMessage'
1718
                                        'action' => 'deleteMessage'
1741
                                    ]
1719
                                    ]
Línea 1744... Línea 1722...
1744
                            'get' => [
1722
                            'get' => [
1745
                                'type' => Segment::class,
1723
                                'type' => Segment::class,
1746
                                'options' => [
1724
                                'options' => [
1747
                                    'route' => '/get/:id',
1725
                                    'route' => '/get/:id',
1748
                                    'constraints' => [
1726
                                    'constraints' => [
1749
                                        'id' => '[0-9]+',
1727
                                        'id' => '[0-9]+'
1750
                                    ],
1728
                                    ],
1751
                                    'defaults' => [
1729
                                    'defaults' => [
1752
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1730
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1753
                                        'action' => 'getMessage'
1731
                                        'action' => 'getMessage'
1754
                                    ]
1732
                                    ]
Línea 1758... Línea 1736...
1758
                                'type' => Segment::class,
1736
                                'type' => Segment::class,
1759
                                'options' => [
1737
                                'options' => [
1760
                                    'route' => '/attachment/:id/:attachment',
1738
                                    'route' => '/attachment/:id/:attachment',
1761
                                    'constraints' => [
1739
                                    'constraints' => [
1762
                                        'id' => '[0-9]+',
1740
                                        'id' => '[0-9]+',
1763
                                        'attachment' => '[0-9]+',
1741
                                        'attachment' => '[0-9]+'
1764
                                    ],
1742
                                    ],
1765
                                    'defaults' => [
1743
                                    'defaults' => [
1766
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1744
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1767
                                        'action' => 'getAttachment'
1745
                                        'action' => 'getAttachment'
1768
                                    ]
1746
                                    ]
1769
                                ]
1747
                                ]
1770
                            ],
1748
                            ]
1771
                        ],
1749
                        ]
1772
                    ],
1750
                    ]
1773
                ],
1751
                ]
1774
            ],
1752
            ],
1775
            'connection' => [
1753
            'connection' => [
1776
                'type' => Literal::class,
1754
                'type' => Literal::class,
1777
                'options' => [
1755
                'options' => [
1778
                    'route' => '/connection',
1756
                    'route' => '/connection',
Línea 1809... Línea 1787...
1809
                            'route' => '/people-blocked',
1787
                            'route' => '/people-blocked',
1810
                            'defaults' => [
1788
                            'defaults' => [
1811
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1789
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1812
                                'action' => 'peopleBlocked'
1790
                                'action' => 'peopleBlocked'
1813
                            ]
1791
                            ]
1814
                        ],
1792
                        ]
1815
                    ],
1793
                    ],
1816
                    'invitations-sent' => [
1794
                    'invitations-sent' => [
1817
                        'type' => Literal::class,
1795
                        'type' => Literal::class,
1818
                        'options' => [
1796
                        'options' => [
1819
                            'route' => '/invitations-sent',
1797
                            'route' => '/invitations-sent',
Línea 1836... Línea 1814...
1836
                    'block' => [
1814
                    'block' => [
1837
                        'type' => Segment::class,
1815
                        'type' => Segment::class,
1838
                        'options' => [
1816
                        'options' => [
1839
                            'route' => '/block/:id',
1817
                            'route' => '/block/:id',
1840
                            'constraints' => [
1818
                            'constraints' => [
1841
                                'id' => '[A-Za-z0-9\-]+\=*',
1819
                                'id' => '[A-Za-z0-9\-]+\=*'
1842
                            ],
1820
                            ],
1843
                            'defaults' => [
1821
                            'defaults' => [
1844
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1822
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1845
                                'action' => 'block'
1823
                                'action' => 'block'
1846
                            ]
1824
                            ]
Línea 1849... Línea 1827...
1849
                    'unblock' => [
1827
                    'unblock' => [
1850
                        'type' => Segment::class,
1828
                        'type' => Segment::class,
1851
                        'options' => [
1829
                        'options' => [
1852
                            'route' => '/unblock/:id',
1830
                            'route' => '/unblock/:id',
1853
                            'constraints' => [
1831
                            'constraints' => [
1854
                                'id' => '[A-Za-z0-9\-]+\=*',
1832
                                'id' => '[A-Za-z0-9\-]+\=*'
1855
                            ],
1833
                            ],
1856
                            'defaults' => [
1834
                            'defaults' => [
1857
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1835
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1858
                                'action' => 'unblock'
1836
                                'action' => 'unblock'
1859
                            ]
1837
                            ]
Línea 1862... Línea 1840...
1862
                    'cancel' => [
1840
                    'cancel' => [
1863
                        'type' => Segment::class,
1841
                        'type' => Segment::class,
1864
                        'options' => [
1842
                        'options' => [
1865
                            'route' => '/cancel/:id',
1843
                            'route' => '/cancel/:id',
1866
                            'constraints' => [
1844
                            'constraints' => [
1867
                                'id' => '[A-Za-z0-9\-]+\=*',
1845
                                'id' => '[A-Za-z0-9\-]+\=*'
1868
                            ],
1846
                            ],
1869
                            'defaults' => [
1847
                            'defaults' => [
1870
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1848
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1871
                                'action' => 'cancel'
1849
                                'action' => 'cancel'
1872
                            ]
1850
                            ]
Línea 1875... Línea 1853...
1875
                    'request' => [
1853
                    'request' => [
1876
                        'type' => Segment::class,
1854
                        'type' => Segment::class,
1877
                        'options' => [
1855
                        'options' => [
1878
                            'route' => '/request/:id',
1856
                            'route' => '/request/:id',
1879
                            'constraints' => [
1857
                            'constraints' => [
1880
                                'id' => '[A-Za-z0-9\-]+\=*',
1858
                                'id' => '[A-Za-z0-9\-]+\=*'
1881
                            ],
1859
                            ],
1882
                            'defaults' => [
1860
                            'defaults' => [
1883
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1861
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1884
                                'action' => 'request'
1862
                                'action' => 'request'
1885
                            ]
1863
                            ]
Línea 1888... Línea 1866...
1888
                    'approve' => [
1866
                    'approve' => [
1889
                        'type' => Segment::class,
1867
                        'type' => Segment::class,
1890
                        'options' => [
1868
                        'options' => [
1891
                            'route' => '/approve/:id',
1869
                            'route' => '/approve/:id',
1892
                            'constraints' => [
1870
                            'constraints' => [
1893
                                'id' => '[A-Za-z0-9\-]+\=*',
1871
                                'id' => '[A-Za-z0-9\-]+\=*'
1894
                            ],
1872
                            ],
1895
                            'defaults' => [
1873
                            'defaults' => [
1896
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1874
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1897
                                'action' => 'approve'
1875
                                'action' => 'approve'
1898
                            ]
1876
                            ]
Línea 1901... Línea 1879...
1901
                    'reject' => [
1879
                    'reject' => [
1902
                        'type' => Segment::class,
1880
                        'type' => Segment::class,
1903
                        'options' => [
1881
                        'options' => [
1904
                            'route' => '/reject/:id',
1882
                            'route' => '/reject/:id',
1905
                            'constraints' => [
1883
                            'constraints' => [
1906
                                'id' => '[A-Za-z0-9\-]+\=*',
1884
                                'id' => '[A-Za-z0-9\-]+\=*'
1907
                            ],
1885
                            ],
1908
                            'defaults' => [
1886
                            'defaults' => [
1909
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1887
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1910
                                'action' => 'reject'
1888
                                'action' => 'reject'
1911
                            ]
1889
                            ]
Línea 1914... Línea 1892...
1914
                    'delete' => [
1892
                    'delete' => [
1915
                        'type' => Segment::class,
1893
                        'type' => Segment::class,
1916
                        'options' => [
1894
                        'options' => [
1917
                            'route' => '/delete/:id',
1895
                            'route' => '/delete/:id',
1918
                            'constraints' => [
1896
                            'constraints' => [
1919
                                'id' => '[A-Za-z0-9\-]+\=*',
1897
                                'id' => '[A-Za-z0-9\-]+\=*'
1920
                            ],
1898
                            ],
1921
                            'defaults' => [
1899
                            'defaults' => [
1922
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1900
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1923
                                'action' => 'delete'
1901
                                'action' => 'delete'
1924
                            ]
1902
                            ]
1925
                        ]
1903
                        ]
1926
                    ],
1904
                    ]
1927
                ]
1905
                ]
1928
            ],
1906
            ],
1929
            'feed' => [
1907
            'feed' => [
1930
                'type' => Literal::class,
1908
                'type' => Literal::class,
1931
                'options' => [
1909
                'options' => [
Línea 1941... Línea 1919...
1941
                        'type' => Segment::class,
1919
                        'type' => Segment::class,
1942
                        'options' => [
1920
                        'options' => [
1943
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1921
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1944
                            'constraints' => [
1922
                            'constraints' => [
1945
                                'id' => '[A-Za-z0-9\-]+\=*',
1923
                                'id' => '[A-Za-z0-9\-]+\=*',
1946
                                'type' => 'user|company|group',
1924
                                'type' => 'user|company|group'
1947
                            ],
1925
                            ],
1948
                            'defaults' => [
1926
                            'defaults' => [
1949
                                'controller' => '\LeadersLinked\Controller\FeedController',
1927
                                'controller' => '\LeadersLinked\Controller\FeedController',
1950
                                'action' => 'timeline'
1928
                                'action' => 'timeline'
1951
                            ]
1929
                            ]
Línea 1954... Línea 1932...
1954
                    'delete' => [
1932
                    'delete' => [
1955
                        'type' => Segment::class,
1933
                        'type' => Segment::class,
1956
                        'options' => [
1934
                        'options' => [
1957
                            'route' => '/delete/:id',
1935
                            'route' => '/delete/:id',
1958
                            'constraints' => [
1936
                            'constraints' => [
1959
                                'id' => '[A-Za-z0-9\-]+\=*',
1937
                                'id' => '[A-Za-z0-9\-]+\=*'
1960
                            ],
1938
                            ],
1961
                            'defaults' => [
1939
                            'defaults' => [
1962
                                'controller' => '\LeadersLinked\Controller\FeedController',
1940
                                'controller' => '\LeadersLinked\Controller\FeedController',
1963
                                'action' => 'delete'
1941
                                'action' => 'delete'
1964
                            ],
1942
                            ]
1965
                        ]
1943
                        ]
1966
                    ],
1944
                    ],
1967
                    'reactions' => [
1945
                    'reactions' => [
1968
                        'type' => Segment::class,
1946
                        'type' => Segment::class,
1969
                        'options' => [
1947
                        'options' => [
1970
                            'route' => '/reactions/:id',
1948
                            'route' => '/reactions/:id',
1971
                            'constraints' => [
1949
                            'constraints' => [
1972
                                'id' => '[A-Za-z0-9\-]+\=*',
1950
                                'id' => '[A-Za-z0-9\-]+\=*'
1973
                  
-
 
1974
                            ],
1951
                            ],
1975
                            'defaults' => [
1952
                            'defaults' => [
1976
                                'controller' => '\LeadersLinked\Controller\FeedController',
1953
                                'controller' => '\LeadersLinked\Controller\FeedController',
1977
                                'action' => 'reactions'
1954
                                'action' => 'reactions'
1978
                            ]
1955
                            ]
Línea 1981... Línea 1958...
1981
                    'comment' => [
1958
                    'comment' => [
1982
                        'type' => Segment::class,
1959
                        'type' => Segment::class,
1983
                        'options' => [
1960
                        'options' => [
1984
                            'route' => '/comment/:id',
1961
                            'route' => '/comment/:id',
1985
                            'constraints' => [
1962
                            'constraints' => [
1986
                                'id' => '[A-Za-z0-9\-]+\=*',
1963
                                'id' => '[A-Za-z0-9\-]+\=*'
1987
                            ],
1964
                            ],
1988
                            'defaults' => [
1965
                            'defaults' => [
1989
                                'controller' => '\LeadersLinked\Controller\FeedController',
1966
                                'controller' => '\LeadersLinked\Controller\FeedController',
1990
                                'action' => 'comment'
1967
                                'action' => 'comment'
1991
                            ],
1968
                            ]
1992
                        ],
1969
                        ],
1993
                        'may_terminate' => true,
1970
                        'may_terminate' => true,
1994
                        'child_routes' => [
1971
                        'child_routes' => [
1995
                            'delete' => [
1972
                            'delete' => [
1996
                                'type' => Segment::class,
1973
                                'type' => Segment::class,
1997
                                'options' => [
1974
                                'options' => [
1998
                                    'route' => '/delete/:comment',
1975
                                    'route' => '/delete/:comment',
1999
                                    'constraints' => [
1976
                                    'constraints' => [
2000
                                        'comment' => '[A-Za-z0-9\-]+\=*',
1977
                                        'comment' => '[A-Za-z0-9\-]+\=*'
2001
                                    ],
1978
                                    ],
2002
                                    'defaults' => [
1979
                                    'defaults' => [
2003
                                        'controller' => '\LeadersLinked\Controller\FeedController',
1980
                                        'controller' => '\LeadersLinked\Controller\FeedController',
2004
                                        'action' => 'commentDelete'
1981
                                        'action' => 'commentDelete'
2005
                                    ]
1982
                                    ]
2006
                                ]
1983
                                ]
2007
                            ],
1984
                            ]
2008
                        ]
1985
                        ]
2009
                    ],
1986
                    ],
2010
                    'share' => [
1987
                    'share' => [
2011
                        'type' => Segment::class,
1988
                        'type' => Segment::class,
2012
                        'options' => [
1989
                        'options' => [
Línea 2026... Línea 2003...
2026
                    'save-reaction' => [
2003
                    'save-reaction' => [
2027
                        'type' => Segment::class,
2004
                        'type' => Segment::class,
2028
                        'options' => [
2005
                        'options' => [
2029
                            'route' => '/save-reaction/:id',
2006
                            'route' => '/save-reaction/:id',
2030
                            'constraints' => [
2007
                            'constraints' => [
2031
                                'id' => '[A-Za-z0-9\-]+\=*',
2008
                                'id' => '[A-Za-z0-9\-]+\=*'
2032
                            ],
2009
                            ],
2033
                            'defaults' => [
2010
                            'defaults' => [
2034
                                'controller' => '\LeadersLinked\Controller\FeedController',
2011
                                'controller' => '\LeadersLinked\Controller\FeedController',
2035
                                'action' => 'saveReaction'
2012
                                'action' => 'saveReaction'
2036
                            ]
2013
                            ]
2037
                        ]
2014
                        ]
2038
                    ],
2015
                    ],
2039
                    
2016
 
2040
                    'delete-reaction' => [
2017
                    'delete-reaction' => [
2041
                        'type' => Segment::class,
2018
                        'type' => Segment::class,
2042
                        'options' => [
2019
                        'options' => [
2043
                            'route' => '/delete-reaction/:id',
2020
                            'route' => '/delete-reaction/:id',
2044
                            'constraints' => [
2021
                            'constraints' => [
2045
                                'id' => '[A-Za-z0-9\-]+\=*',
2022
                                'id' => '[A-Za-z0-9\-]+\=*'
2046
                            ],
2023
                            ],
2047
                            'defaults' => [
2024
                            'defaults' => [
2048
                                'controller' => '\LeadersLinked\Controller\FeedController',
2025
                                'controller' => '\LeadersLinked\Controller\FeedController',
2049
                                'action' => 'deleteReaction'
2026
                                'action' => 'deleteReaction'
2050
                            ]
2027
                            ]
Línea 2068... Línea 2045...
2068
                    'vote' => [
2045
                    'vote' => [
2069
                        'type' => Segment::class,
2046
                        'type' => Segment::class,
2070
                        'options' => [
2047
                        'options' => [
2071
                            'route' => '/vote/:id',
2048
                            'route' => '/vote/:id',
2072
                            'constraints' => [
2049
                            'constraints' => [
2073
                                'id' => '[A-Za-z0-9\-]+\=*',
2050
                                'id' => '[A-Za-z0-9\-]+\=*'
2074
                            ],
2051
                            ],
2075
                            'defaults' => [
2052
                            'defaults' => [
2076
                                'controller' => '\LeadersLinked\Controller\FeedController',
2053
                                'controller' => '\LeadersLinked\Controller\FeedController',
2077
                                'action' => 'vote'
2054
                                'action' => 'vote'
2078
                            ]
2055
                            ]
2079
                        ]
2056
                        ]
2080
                    ],
2057
                    ]
2081
                ],
2058
                ]
2082
            ],
2059
            ],
2083
            'job' => [
2060
            'job' => [
2084
                'type' => Literal::class,
2061
                'type' => Literal::class,
2085
                'options' => [
2062
                'options' => [
2086
                    'route' => '/job',
2063
                    'route' => '/job',
Línea 2173... Línea 2150...
2173
                            'defaults' => [
2150
                            'defaults' => [
2174
                                'controller' => '\LeadersLinked\Controller\JobController',
2151
                                'controller' => '\LeadersLinked\Controller\JobController',
2175
                                'action' => 'savedJobs'
2152
                                'action' => 'savedJobs'
2176
                            ]
2153
                            ]
2177
                        ]
2154
                        ]
2178
                    ],
2155
                    ]
2179
                ]
2156
                ]
2180
            ],
2157
            ],
2181
            /*
2158
            /*
2182
              'job' => [
2159
              'job' => [
2183
              'type' => Literal::class,
2160
              'type' => Literal::class,
Línea 2215... Línea 2192...
2215
                    ],
2192
                    ],
2216
                    'defaults' => [
2193
                    'defaults' => [
2217
                        'controller' => '\LeadersLinked\Controller\SearchController',
2194
                        'controller' => '\LeadersLinked\Controller\SearchController',
2218
                        'action' => 'index'
2195
                        'action' => 'index'
2219
                    ]
2196
                    ]
2220
                ],
2197
                ]
2221
            ],
2198
            ],
2222
            'group' => [
2199
            'group' => [
2223
                'type' => Literal::class,
2200
                'type' => Literal::class,
2224
                'options' => [
2201
                'options' => [
2225
                    'route' => '/group',
2202
                    'route' => '/group',
Línea 2314... Línea 2291...
2314
                            'route' => '/joined-groups',
2291
                            'route' => '/joined-groups',
2315
                            'defaults' => [
2292
                            'defaults' => [
2316
                                'controller' => '\LeadersLinked\Controller\GroupController',
2293
                                'controller' => '\LeadersLinked\Controller\GroupController',
2317
                                'action' => 'joinedGroups'
2294
                                'action' => 'joinedGroups'
2318
                            ]
2295
                            ]
2319
                        ],
2296
                        ]
2320
                    ],
2297
                    ],
2321
                    'requests-sent' => [
2298
                    'requests-sent' => [
2322
                        'type' => Literal::class,
2299
                        'type' => Literal::class,
2323
                        'options' => [
2300
                        'options' => [
2324
                            'route' => '/requests-sent',
2301
                            'route' => '/requests-sent',
2325
                            'defaults' => [
2302
                            'defaults' => [
2326
                                'controller' => '\LeadersLinked\Controller\GroupController',
2303
                                'controller' => '\LeadersLinked\Controller\GroupController',
2327
                                'action' => 'requestsSent'
2304
                                'action' => 'requestsSent'
2328
                            ]
2305
                            ]
2329
                        ],
2306
                        ]
2330
                    ],
2307
                    ],
2331
                    'invitations-received' => [
2308
                    'invitations-received' => [
2332
                        'type' => Literal::class,
2309
                        'type' => Literal::class,
2333
                        'options' => [
2310
                        'options' => [
2334
                            'route' => '/invitations-received',
2311
                            'route' => '/invitations-received',
2335
                            'defaults' => [
2312
                            'defaults' => [
2336
                                'controller' => '\LeadersLinked\Controller\GroupController',
2313
                                'controller' => '\LeadersLinked\Controller\GroupController',
2337
                                'action' => 'invitationsReceived'
2314
                                'action' => 'invitationsReceived'
2338
                            ]
2315
                            ]
2339
                        ],
2316
                        ]
2340
                    ],
2317
                    ],
2341
                    'my-groups' => [
2318
                    'my-groups' => [
2342
                        'type' => Literal::class,
2319
                        'type' => Literal::class,
2343
                        'options' => [
2320
                        'options' => [
2344
                            'route' => '/my-groups',
2321
                            'route' => '/my-groups',
Línea 2567... Línea 2544...
2567
                                            'defaults' => [
2544
                                            'defaults' => [
2568
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2545
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2569
                                                'action' => 'cancel'
2546
                                                'action' => 'cancel'
2570
                                            ]
2547
                                            ]
2571
                                        ]
2548
                                        ]
2572
                                    ],
2549
                                    ]
2573
                                ]
2550
                                ]
2574
                            ],
2551
                            ]
2575
                        ]
2552
                        ]
2576
                    ]
2553
                    ]
2577
                ]
2554
                ]
2578
            ],
2555
            ],
2579
            'profile' => [
2556
            'profile' => [
Línea 2645... Línea 2622...
2645
                                    'defaults' => [
2622
                                    'defaults' => [
2646
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2623
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
2647
                                        'action' => 'report'
2624
                                        'action' => 'report'
2648
                                    ]
2625
                                    ]
2649
                                ]
2626
                                ]
2650
                            ],
2627
                            ]
2651
                        ]
2628
                        ]
2652
                    ],
2629
                    ],
2653
                    'performance-evaluation' => [
2630
                    'performance-evaluation' => [
2654
                        'type' => Literal::class,
2631
                        'type' => Literal::class,
2655
                        'options' => [
2632
                        'options' => [
Línea 2684... Línea 2661...
2684
                                    'defaults' => [
2661
                                    'defaults' => [
2685
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2662
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2686
                                        'action' => 'report'
2663
                                        'action' => 'report'
2687
                                    ]
2664
                                    ]
2688
                                ]
2665
                                ]
2689
                            ],
2666
                            ]
2690
                        ]
2667
                        ]
2691
                    ],
2668
                    ],
2692
                    'my-profiles' => [
2669
                    'my-profiles' => [
2693
                        'type' => Literal::class,
2670
                        'type' => Literal::class,
2694
                        'options' => [
2671
                        'options' => [
Línea 3010... Línea 2987...
3010
                            'route' => '/following-companies',
2987
                            'route' => '/following-companies',
3011
                            'defaults' => [
2988
                            'defaults' => [
3012
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2989
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3013
                                'action' => 'followingCompanies'
2990
                                'action' => 'followingCompanies'
3014
                            ]
2991
                            ]
3015
                        ],
2992
                        ]
3016
                    ],
2993
                    ],
3017
                    'requests-sent' => [
2994
                    'requests-sent' => [
3018
                        'type' => Literal::class,
2995
                        'type' => Literal::class,
3019
                        'options' => [
2996
                        'options' => [
3020
                            'route' => '/requests-sent',
2997
                            'route' => '/requests-sent',
3021
                            'defaults' => [
2998
                            'defaults' => [
3022
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2999
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3023
                                'action' => 'requestsSent'
3000
                                'action' => 'requestsSent'
3024
                            ]
3001
                            ]
3025
                        ],
3002
                        ],
3026
                        'may_terminate' => true,
3003
                        'may_terminate' => true
3027
                    ],
3004
                    ],
3028
                    'invitations-received' => [
3005
                    'invitations-received' => [
3029
                        'type' => Literal::class,
3006
                        'type' => Literal::class,
3030
                        'options' => [
3007
                        'options' => [
3031
                            'route' => '/invitations-received',
3008
                            'route' => '/invitations-received',
3032
                            'defaults' => [
3009
                            'defaults' => [
3033
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3010
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3034
                                'action' => 'invitationsReceived'
3011
                                'action' => 'invitationsReceived'
3035
                            ]
3012
                            ]
3036
                        ],
3013
                        ],
3037
                        'may_terminate' => true,
3014
                        'may_terminate' => true
3038
                    ],
3015
                    ],
3039
                    'i-work-with' => [
3016
                    'i-work-with' => [
3040
                        'type' => Literal::class,
3017
                        'type' => Literal::class,
3041
                        'options' => [
3018
                        'options' => [
3042
                            'route' => '/i-work-with',
3019
                            'route' => '/i-work-with',
3043
                            'defaults' => [
3020
                            'defaults' => [
3044
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3021
                                'controller' => '\LeadersLinked\Controller\CompanyController',
3045
                                'action' => 'iWorkWith'
3022
                                'action' => 'iWorkWith'
3046
                            ]
3023
                            ]
3047
                        ],
3024
                        ],
3048
                        'may_terminate' => true,
3025
                        'may_terminate' => true
3049
                    ],
3026
                    ],
3050
                    'my-companies' => [
3027
                    'my-companies' => [
3051
                        'type' => Literal::class,
3028
                        'type' => Literal::class,
3052
                        'options' => [
3029
                        'options' => [
3053
                            'route' => '/my-companies',
3030
                            'route' => '/my-companies',
Línea 3065... Línea 3042...
3065
                                    'defaults' => [
3042
                                    'defaults' => [
3066
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3043
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
3067
                                        'action' => 'add'
3044
                                        'action' => 'add'
3068
                                    ]
3045
                                    ]
3069
                                ]
3046
                                ]
3070
                            ],
3047
                            ]
3071
                        ]
3048
                        ]
3072
                    ],
3049
                    ]
3073
                ]
3050
                ]
3074
            ],
3051
            ],
3075
            'account-settings' => [
3052
            'account-settings' => [
3076
                'type' => Literal::class,
3053
                'type' => Literal::class,
3077
                'options' => [
3054
                'options' => [
Línea 3235... Línea 3212...
3235
                                    'defaults' => [
3212
                                    'defaults' => [
3236
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3213
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
3237
                                        'action' => 'addFund'
3214
                                        'action' => 'addFund'
3238
                                    ]
3215
                                    ]
3239
                                ]
3216
                                ]
3240
                            ],
3217
                            ]
3241
                        ]
3218
                        ]
3242
                    ],
3219
                    ],
3243
                    'browsers' => [
3220
                    'browsers' => [
3244
                        'type' => Literal::class,
3221
                        'type' => Literal::class,
3245
                        'options' => [
3222
                        'options' => [
Línea 3277... Línea 3254...
3277
                            'defaults' => [
3254
                            'defaults' => [
3278
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3255
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
3279
                                'action' => 'deleteAccount'
3256
                                'action' => 'deleteAccount'
3280
                            ]
3257
                            ]
3281
                        ]
3258
                        ]
3282
                    ],
3259
                    ]
3283
                ],
3260
                ],
3284
                'may_terminate' => true
3261
                'may_terminate' => true
3285
            ],
3262
            ],
3286
            'moodle' => [
3263
            'moodle' => [
3287
                'type' => Literal::class,
3264
                'type' => Literal::class,
Línea 3323... Línea 3300...
3323
                                    'defaults' => [
3300
                                    'defaults' => [
3324
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3301
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3325
                                        'action' => 'facebookDelete'
3302
                                        'action' => 'facebookDelete'
3326
                                    ]
3303
                                    ]
3327
                                ],
3304
                                ],
3328
                                'may_terminate' => true,
3305
                                'may_terminate' => true
3329
                            ],
3306
                            ],
3330
                            'cancel' => [
3307
                            'cancel' => [
3331
                                'type' => Literal::class,
3308
                                'type' => Literal::class,
3332
                                'options' => [
3309
                                'options' => [
3333
                                    'route' => '/cancel',
3310
                                    'route' => '/cancel',
3334
                                    'defaults' => [
3311
                                    'defaults' => [
3335
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3312
                                        'controller' => '\LeadersLinked\Controller\OauthController',
3336
                                        'action' => 'facebookCancel'
3313
                                        'action' => 'facebookCancel'
3337
                                    ]
3314
                                    ]
3338
                                ],
3315
                                ],
3339
                                'may_terminate' => true,
3316
                                'may_terminate' => true
3340
                            ],
3317
                            ]
3341
                        ],
3318
                        ]
3342
                    ],
3319
                    ],
3343
                    'twitter' => [
3320
                    'twitter' => [
3344
                        'type' => Literal::class,
3321
                        'type' => Literal::class,
3345
                        'options' => [
3322
                        'options' => [
3346
                            'route' => '/twitter',
3323
                            'route' => '/twitter',
3347
                            'defaults' => [
3324
                            'defaults' => [
3348
                                'controller' => '\LeadersLinked\Controller\OauthController',
3325
                                'controller' => '\LeadersLinked\Controller\OauthController',
3349
                                'action' => 'twitter'
3326
                                'action' => 'twitter'
3350
                            ]
3327
                            ]
3351
                        ],
3328
                        ],
3352
                        'may_terminate' => true,
3329
                        'may_terminate' => true
3353
                    ],
3330
                    ],
3354
                    'google' => [
3331
                    'google' => [
3355
                        'type' => Literal::class,
3332
                        'type' => Literal::class,
3356
                        'options' => [
3333
                        'options' => [
3357
                            'route' => '/google',
3334
                            'route' => '/google',
3358
                            'defaults' => [
3335
                            'defaults' => [
3359
                                'controller' => '\LeadersLinked\Controller\OauthController',
3336
                                'controller' => '\LeadersLinked\Controller\OauthController',
3360
                                'action' => 'google'
3337
                                'action' => 'google'
3361
                            ]
3338
                            ]
3362
                        ],
3339
                        ],
3363
                        'may_terminate' => true,
3340
                        'may_terminate' => true
3364
                    ],
3341
                    ]
-
 
3342
                    /*
3365
                    /* 'facebook' => [
3343
                 * 'facebook' => [
3366
                  'type' => Literal::class,
3344
                 * 'type' => Literal::class,
3367
                  'options' => [
3345
                 * 'options' => [
3368
                  'route' => '/facebook',
3346
                 * 'route' => '/facebook',
3369
                  'defaults' => [
3347
                 * 'defaults' => [
3370
                  'controller' => '\LeadersLinked\Controller\OauthController',
3348
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
3371
                  'action' => 'facebook'
3349
                 * 'action' => 'facebook'
3372
                  ]
3350
                 * ]
3373
                  ],
3351
                 * ],
3374
                  'may_terminate' => true,
3352
                 * 'may_terminate' => true,
3375
                  'child_routes' => [
3353
                 * 'child_routes' => [
3376
                  'cancel' => [
3354
                 * 'cancel' => [
3377
                  'type' => Literal::class,
3355
                 * 'type' => Literal::class,
3378
                  'options' => [
3356
                 * 'options' => [
3379
                  'route' => '/cancel',
3357
                 * 'route' => '/cancel',
3380
                  'defaults' => [
3358
                 * 'defaults' => [
3381
                  'controller' => '\LeadersLinked\Controller\OauthController',
3359
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
3382
                  'action' => 'facebookCancel'
3360
                 * 'action' => 'facebookCancel'
3383
                  ]
3361
                 * ]
3384
                  ]
3362
                 * ]
3385
                  ],
3363
                 * ],
3386
                  'delete' => [
3364
                 * 'delete' => [
3387
                  'type' => Literal::class,
3365
                 * 'type' => Literal::class,
3388
                  'options' => [
3366
                 * 'options' => [
3389
                  'route' => '/delete',
3367
                 * 'route' => '/delete',
3390
                  'defaults' => [
3368
                 * 'defaults' => [
3391
                  'controller' => '\LeadersLinked\Controller\OauthController',
3369
                 * 'controller' => '\LeadersLinked\Controller\OauthController',
3392
                  'action' => 'facebookDelete'
3370
                 * 'action' => 'facebookDelete'
-
 
3371
                 * ]
3393
                  ]
3372
                 * ]
3394
                  ]
3373
                 * ]
3395
                  ]
3374
                 * ]
3396
                  ]
3375
                 * ]
3397
                  ] */
3376
                 */
3398
                ]
3377
                ]
3399
            ],
3378
            ],
3400
            'daily-pulse' => [
3379
            'daily-pulse' => [
3401
                'type' => Literal::class,
3380
                'type' => Literal::class,
3402
                'options' => [
3381
                'options' => [
Línea 3431... Línea 3410...
3431
                            'defaults' => [
3410
                            'defaults' => [
3432
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3411
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3433
                                'action' => 'climateOnYourOrganization'
3412
                                'action' => 'climateOnYourOrganization'
3434
                            ]
3413
                            ]
3435
                        ]
3414
                        ]
3436
                    ],
3415
                    ]
3437
                ],
3416
                ]
3438
            ],
3417
            ],
Línea 3439... Línea -...
3439
 
-
 
3440
 
3418
 
3441
            'helpers' => [
3419
            'helpers' => [
3442
                'type' => Literal::class,
3420
                'type' => Literal::class,
3443
                'options' => [
3421
                'options' => [
3444
                    'route' => '/helpers',
3422
                    'route' => '/helpers',
Línea 3457... Línea 3435...
3457
                                'controller' => '\LeadersLinked\Controller\HelperController',
3435
                                'controller' => '\LeadersLinked\Controller\HelperController',
3458
                                'action' => 'menu'
3436
                                'action' => 'menu'
3459
                            ]
3437
                            ]
3460
                        ]
3438
                        ]
3461
                    ],
3439
                    ],
3462
                    
3440
 
3463
                    'search-people' => [
3441
                    'search-people' => [
3464
                        'type' => Literal::class,
3442
                        'type' => Literal::class,
3465
                        'options' => [
3443
                        'options' => [
3466
                            'route' => '/search-people',
3444
                            'route' => '/search-people',
3467
                            'defaults' => [
3445
                            'defaults' => [
Línea 3589... Línea 3567...
3589
                                    'defaults' => [
3567
                                    'defaults' => [
3590
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3568
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3591
                                        'action' => 'groupMemberApprove'
3569
                                        'action' => 'groupMemberApprove'
3592
                                    ]
3570
                                    ]
3593
                                ]
3571
                                ]
3594
                            ],
3572
                            ]
3595
                        ]
3573
                        ]
3596
                    ],
3574
                    ],
3597
                    'groups-suggestion' => [
3575
                    'groups-suggestion' => [
3598
                        'type' => Literal::class,
3576
                        'type' => Literal::class,
3599
                        'options' => [
3577
                        'options' => [
Línea 3705... Línea 3683...
3705
                                'controller' => '\LeadersLinked\Controller\HelperController',
3683
                                'controller' => '\LeadersLinked\Controller\HelperController',
3706
                                'action' => 'hobbies'
3684
                                'action' => 'hobbies'
3707
                            ]
3685
                            ]
3708
                        ]
3686
                        ]
3709
                    ],
3687
                    ],
3710
                    
3688
 
3711
                    'industries' => [
3689
                    'industries' => [
3712
                        'type' => Literal::class,
3690
                        'type' => Literal::class,
3713
                        'options' => [
3691
                        'options' => [
3714
                            'route' => '/industries',
3692
                            'route' => '/industries',
3715
                            'defaults' => [
3693
                            'defaults' => [
3716
                                'controller' => '\LeadersLinked\Controller\HelperController',
3694
                                'controller' => '\LeadersLinked\Controller\HelperController',
3717
                                'action' => 'industries'
3695
                                'action' => 'industries'
3718
                            ]
3696
                            ]
3719
                        ]
3697
                        ]
3720
                    ],
3698
                    ],
3721
                    
3699
 
3722
                    'timezones' => [
3700
                    'timezones' => [
3723
                        'type' => Literal::class,
3701
                        'type' => Literal::class,
3724
                        'options' => [
3702
                        'options' => [
3725
                            'route' => '/timezones',
3703
                            'route' => '/timezones',
3726
                            'defaults' => [
3704
                            'defaults' => [
3727
                                'controller' => '\LeadersLinked\Controller\HelperController',
3705
                                'controller' => '\LeadersLinked\Controller\HelperController',
3728
                                'action' => 'timeZones'
3706
                                'action' => 'timeZones'
3729
                            ]
3707
                            ]
3730
                        ]
3708
                        ]
3731
                    ],
3709
                    ],
3732
                    
3710
 
3733
                    'abuse-report' => [
3711
                    'abuse-report' => [
3734
                        'type' => Segment::class,
3712
                        'type' => Segment::class,
3735
                        'options' => [
3713
                        'options' => [
3736
                            'route' => '/abuse-report/:type/:id',
3714
                            'route' => '/abuse-report/:type/:id',
3737
                            'constraints' => [
3715
                            'constraints' => [
3738
                                'type' => 'feed|post|comment|message|chat-message|chat-group-message',
3716
                                'type' => 'feed|post|comment|message|chat-message|chat-group-message',
3739
                                'id' => '[A-Za-z0-9\-]+\=*',
3717
                                'id' => '[A-Za-z0-9\-]+\=*'
3740
                            ],
3718
                            ],
3741
                            'defaults' => [
3719
                            'defaults' => [
3742
                                'controller' => '\LeadersLinked\Controller\HelperController',
3720
                                'controller' => '\LeadersLinked\Controller\HelperController',
3743
                                'action' => 'abuseReport'
3721
                                'action' => 'abuseReport'
3744
                            ]
3722
                            ]
3745
                        ]
3723
                        ]
3746
                    ],
3724
                    ],
3747
                    
3725
 
3748
                    'habits-and-skills' => [
3726
                    'habits-and-skills' => [
3749
                        'type' => Literal::class,
3727
                        'type' => Literal::class,
3750
                        'options' => [
3728
                        'options' => [
3751
                            'route' => '/habits-and-skills',
3729
                            'route' => '/habits-and-skills',
3752
                            
3730
 
3753
                            'defaults' => [
3731
                            'defaults' => [
3754
                                'controller' => '\LeadersLinked\Controller\HelperController',
3732
                                'controller' => '\LeadersLinked\Controller\HelperController',
3755
                                'action' => 'habitsAndSkills'
3733
                                'action' => 'habitsAndSkills'
3756
                            ]
3734
                            ]
3757
                        ],
3735
                        ],
Línea 3760... Línea 3738...
3760
                            'get' => [
3738
                            'get' => [
3761
                                'type' => Segment::class,
3739
                                'type' => Segment::class,
3762
                                'options' => [
3740
                                'options' => [
3763
                                    'route' => '/get/:id',
3741
                                    'route' => '/get/:id',
3764
                                    'constraints' => [
3742
                                    'constraints' => [
3765
                                        'id' => '[A-Za-z0-9\-]+\=*',
3743
                                        'id' => '[A-Za-z0-9\-]+\=*'
3766
                                    ],
3744
                                    ],
3767
                                    'defaults' => [
3745
                                    'defaults' => [
3768
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3746
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3769
                                        'action' => 'habitsAndSkillsGet'
3747
                                        'action' => 'habitsAndSkillsGet'
3770
                                    ]
3748
                                    ]
Línea 3777... Línea 3755...
3777
                                    'defaults' => [
3755
                                    'defaults' => [
3778
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3756
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3779
                                        'action' => 'myHabitsAndSkillsGet'
3757
                                        'action' => 'myHabitsAndSkillsGet'
3780
                                    ]
3758
                                    ]
3781
                                ]
3759
                                ]
3782
                            ],
3760
                            ]
3783
                        ]
3761
                        ]
3784
                    ],
3762
                    ]
3785
                ]
3763
                ]
3786
            ],
3764
            ],
3787
            'help' => [
3765
            'help' => [
3788
                'type' => Literal::class,
3766
                'type' => Literal::class,
3789
                'options' => [
3767
                'options' => [
Línea 3791... Línea 3769...
3791
                    'defaults' => [
3769
                    'defaults' => [
3792
                        'controller' => '\LeadersLinked\Controller\HelpController',
3770
                        'controller' => '\LeadersLinked\Controller\HelpController',
3793
                        'action' => 'send'
3771
                        'action' => 'send'
3794
                    ]
3772
                    ]
3795
                ],
3773
                ],
3796
                'may_terminate' => true,
3774
                'may_terminate' => true
3797
            ],
3775
            ],
3798
           
3776
 
3799
            'marketplace' => [
3777
            'marketplace' => [
3800
                'type' => Literal::class,
3778
                'type' => Literal::class,
3801
                'options' => [
3779
                'options' => [
3802
                    'route' => '/marketplace',
3780
                    'route' => '/marketplace',
3803
                    'defaults' => [
3781
                    'defaults' => [
Línea 3822... Línea 3800...
3822
                        'options' => [
3800
                        'options' => [
3823
                            'route' => '/enroll/:company_id/:topic_id/:capsule_id',
3801
                            'route' => '/enroll/:company_id/:topic_id/:capsule_id',
3824
                            'constraints' => [
3802
                            'constraints' => [
3825
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3803
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3826
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3804
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3827
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
3805
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
3828
                            ],
3806
                            ],
3829
                            'defaults' => [
3807
                            'defaults' => [
3830
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3808
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3831
                                'action' => 'enroll'
3809
                                'action' => 'enroll'
3832
                            ]
3810
                            ]
Línea 3835... Línea 3813...
3835
                    'claim' => [
3813
                    'claim' => [
3836
                        'type' => Segment::class,
3814
                        'type' => Segment::class,
3837
                        'options' => [
3815
                        'options' => [
3838
                            'route' => '/claim/:id',
3816
                            'route' => '/claim/:id',
3839
                            'constraints' => [
3817
                            'constraints' => [
3840
                                'id' => '[A-Za-z0-9\-]+\=*',
3818
                                'id' => '[A-Za-z0-9\-]+\=*'
3841
                            ],
3819
                            ],
3842
                            'defaults' => [
3820
                            'defaults' => [
3843
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3821
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3844
                                'action' => 'claim'
3822
                                'action' => 'claim'
3845
                            ]
3823
                            ]
3846
                        ]
3824
                        ]
3847
                    ],
3825
                    ]
3848
                ]
3826
                ]
3849
            ],
3827
            ],
3850
            'microlearning' => [
3828
            'microlearning' => [
3851
                'type' => Literal::class,
3829
                'type' => Literal::class,
3852
                'options' => [
3830
                'options' => [
Línea 3881... Línea 3859...
3881
                    'progress' => [
3859
                    'progress' => [
3882
                        'type' => Segment::class,
3860
                        'type' => Segment::class,
3883
                        'options' => [
3861
                        'options' => [
3884
                            'route' => '/progress/:id',
3862
                            'route' => '/progress/:id',
3885
                            'constraints' => [
3863
                            'constraints' => [
3886
                                'id' => '[A-Za-z0-9\-]+\=*',
3864
                                'id' => '[A-Za-z0-9\-]+\=*'
3887
                            ],
3865
                            ],
3888
                            'defaults' => [
3866
                            'defaults' => [
3889
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3867
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3890
                                'action' => 'progress'
3868
                                'action' => 'progress'
3891
                            ]
3869
                            ]
Línea 3908... Línea 3886...
3908
                            'defaults' => [
3886
                            'defaults' => [
3909
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3887
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3910
                                'action' => 'topics'
3888
                                'action' => 'topics'
3911
                            ]
3889
                            ]
3912
                        ],
3890
                        ],
3913
                        'may_terminate' => true,
3891
                        'may_terminate' => true
3914
                           
-
 
3915
                    ],
3892
                    ],
3916
                    'get-topic' => [
3893
                    'get-topic' => [
3917
                        'type' => Segment::class,
3894
                        'type' => Segment::class,
3918
                        'options' => [
3895
                        'options' => [
3919
                            'route' => '/get-topic/:id',
3896
                            'route' => '/get-topic/:id',
Línea 3923... Línea 3900...
3923
                            'defaults' => [
3900
                            'defaults' => [
3924
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3901
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3925
                                'action' => 'getTopic'
3902
                                'action' => 'getTopic'
3926
                            ]
3903
                            ]
3927
                        ],
3904
                        ],
3928
                        'may_terminate' => true,
3905
                        'may_terminate' => true
3929
                    ],  
3906
                    ],
3930
                    'take-a-test' => [
3907
                    'take-a-test' => [
3931
                        'type' => Segment::class,
3908
                        'type' => Segment::class,
3932
                        'options' => [
3909
                        'options' => [
3933
                            'route' => '/take-a-test/:slide_id',
3910
                            'route' => '/take-a-test/:slide_id',
3934
                            'constraints' => [
3911
                            'constraints' => [
3935
                                'slide_id' => '[A-Za-z0-9\-]+\=*',
3912
                                'slide_id' => '[A-Za-z0-9\-]+\=*'
3936
                            ],
3913
                            ],
3937
                            'defaults' => [
3914
                            'defaults' => [
3938
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3915
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3939
                                'action' => 'takeTest'
3916
                                'action' => 'takeTest'
3940
                            ]
3917
                            ]
3941
                        ],
3918
                        ],
3942
                        'may_terminate' => true,
3919
                        'may_terminate' => true
3943
                    ],
3920
                    ],
3944
                    'capsules' => [
3921
                    'capsules' => [
3945
                        'type' => Segment::class,
3922
                        'type' => Segment::class,
3946
                        'options' => [
3923
                        'options' => [
3947
                            'route' => '/capsules/:topic_id',
3924
                            'route' => '/capsules/:topic_id',
3948
                            'constraints' => [
3925
                            'constraints' => [
3949
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3926
                                'topic_id' => '[A-Za-z0-9\-]+\=*'
3950
                            ],
3927
                            ],
3951
                            'defaults' => [
3928
                            'defaults' => [
3952
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3929
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3953
                                'action' => 'capsules'
3930
                                'action' => 'capsules'
3954
                            ]
3931
                            ]
3955
                        ],
3932
                        ],
3956
                        'may_terminate' => true,
3933
                        'may_terminate' => true
3957
                    ],
3934
                    ],
3958
                    'get-capsule' => [
3935
                    'get-capsule' => [
3959
                        'type' => Segment::class,
3936
                        'type' => Segment::class,
3960
                        'options' => [
3937
                        'options' => [
3961
                            'route' => '/get-capsule/:id',
3938
                            'route' => '/get-capsule/:id',
3962
                            'constraints' => [
3939
                            'constraints' => [
3963
                                'id' => '[A-Za-z0-9\-]+\=*',
3940
                                'id' => '[A-Za-z0-9\-]+\=*'
3964
                            ],
3941
                            ],
3965
                            'defaults' => [
3942
                            'defaults' => [
3966
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3943
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3967
                                'action' => 'getCapsule'
3944
                                'action' => 'getCapsule'
3968
                            ],
3945
                            ],
3969
                            'may_terminate' => true,
3946
                            'may_terminate' => true
3970
                        ],
3947
                        ]
3971
                    ],
3948
                    ],
3972
                    'slides' => [
3949
                    'slides' => [
3973
                        'type' => Segment::class,
3950
                        'type' => Segment::class,
3974
                        'options' => [
3951
                        'options' => [
3975
                            'route' => '/slides/:topic_id/:capsule_id',
3952
                            'route' => '/slides/:topic_id/:capsule_id',
3976
                            'constraints' => [
3953
                            'constraints' => [
3977
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3954
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3978
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
3955
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
3979
                                
-
 
3980
                            ],
3956
                            ],
3981
                            'defaults' => [
3957
                            'defaults' => [
3982
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3958
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3983
                                'action' => 'slides'
3959
                                'action' => 'slides'
3984
                            ]
3960
                            ]
3985
                        ],
3961
                        ],
3986
                        'may_terminate' => true,
3962
                        'may_terminate' => true
3987
                    ],
3963
                    ],
3988
                    'get-slide' => [
3964
                    'get-slide' => [
3989
                        'type' => Segment::class,
3965
                        'type' => Segment::class,
3990
                        'options' => [
3966
                        'options' => [
3991
                            'route' => '/get-slide/:id',
3967
                            'route' => '/get-slide/:id',
Línea 3995... Línea 3971...
3995
                            'defaults' => [
3971
                            'defaults' => [
3996
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3972
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3997
                                'action' => 'getSlide'
3973
                                'action' => 'getSlide'
3998
                            ]
3974
                            ]
3999
                        ],
3975
                        ],
4000
                        'may_terminate' => true,
3976
                        'may_terminate' => true
4001
                    ],
3977
                    ],
4002
                    'sync' => [
3978
                    'sync' => [
4003
                        
3979
 
4004
                        'type' => Segment::class,
3980
                        'type' => Segment::class,
4005
                        'options' => [
3981
                        'options' => [
4006
                            'route' => '/sync/operation/:operation/topic/:topic_uuid[/capsule/:capsule_uuid][/slide/:slide_uuid][/]',
3982
                            'route' => '/sync/operation/:operation/topic/:topic_uuid[/capsule/:capsule_uuid][/slide/:slide_uuid][/]',
4007
                            'constraints' => [
3983
                            'constraints' => [
4008
                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
3984
                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
4009
                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
3985
                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
4010
                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
3986
                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
4011
                                'operation' => 'slide-view|capsule-close|topic-close',
3987
                                'operation' => 'slide-view|capsule-close|topic-close'
4012
                            ],
3988
                            ],
4013
                            'defaults' => [
3989
                            'defaults' => [
4014
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3990
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4015
                                'action' => 'sync'
3991
                                'action' => 'sync'
4016
                            ]
3992
                            ]
Línea 4059... Línea 4035...
4059
                    'capsules-comments' => [
4035
                    'capsules-comments' => [
4060
                        'type' => Segment::class,
4036
                        'type' => Segment::class,
4061
                        'options' => [
4037
                        'options' => [
4062
                            'route' => '/capsules-comments/:capsule_id',
4038
                            'route' => '/capsules-comments/:capsule_id',
4063
                            'constraints' => [
4039
                            'constraints' => [
4064
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
4040
                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
4065
                            ],
4041
                            ],
4066
                            'defaults' => [
4042
                            'defaults' => [
4067
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4043
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
4068
                                'action' => 'capsuleComments'
4044
                                'action' => 'capsuleComments'
4069
                            ]
4045
                            ]
Línea 4083... Línea 4059...
4083
                            'delete' => [
4059
                            'delete' => [
4084
                                'type' => Segment::class,
4060
                                'type' => Segment::class,
4085
                                'options' => [
4061
                                'options' => [
4086
                                    'route' => '/delete/:comment_id',
4062
                                    'route' => '/delete/:comment_id',
4087
                                    'constraints' => [
4063
                                    'constraints' => [
4088
                                        'comment_id' => '[A-Za-z0-9\-]+\=*',
4064
                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
4089
                                    ],
4065
                                    ],
4090
                                    'defaults' => [
4066
                                    'defaults' => [
4091
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4067
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
4092
                                        'action' => 'capsuleDeleteMyComment'
4068
                                        'action' => 'capsuleDeleteMyComment'
4093
                                    ]
4069
                                    ]
4094
                                ]
4070
                                ]
4095
                            ],
-
 
4096
                        ]    
-
 
4097
                    ],
-
 
4098
               
-
 
4099
 
-
 
4100
                    
-
 
4101
                    /*
-
 
4102
                    
-
 
4103
                    'capsule' => [
-
 
4104
                        'type' => Segment::class,
-
 
4105
                        'options' => [
-
 
4106
                            'route' => '/capsule',
-
 
4107
                            'defaults' => [
-
 
4108
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
4109
                                'action' => 'lastCapsuleInProgress'
-
 
4110
                            ]
4071
                            ]
4111
                        ]
4072
                        ]
4112
                    ],
4073
                    ]
4113
                    
-
 
4114
                    
4074
 
-
 
4075
                    /*
-
 
4076
                 *
-
 
4077
                 * 'capsule' => [
-
 
4078
                 * 'type' => Segment::class,
-
 
4079
                 * 'options' => [
-
 
4080
                 * 'route' => '/capsule',
-
 
4081
                 * 'defaults' => [
-
 
4082
                 * 'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
4083
                 * 'action' => 'lastCapsuleInProgress'
-
 
4084
                 * ]
-
 
4085
                 * ]
-
 
4086
                 * ],
-
 
4087
                 *
-
 
4088
                 *
4115
                    capsuleCommentsAction
4089
                 * capsuleCommentsAction
4116
                    capsuleDeleteMyCommentAction
4090
                 * capsuleDeleteMyCommentAction
4117
                    capsuleAddMyCommentAction
4091
                 * capsuleAddMyCommentAction
4118
                    
-
 
-
 
4092
                 *
4119
                    */
4093
                 */
4120
                    
-
 
4121
                    
-
 
4122
                ]
4094
                ]
4123
            ],
4095
            ],
4124
            
4096
 
4125
            'services' => [
4097
            'services' => [
4126
                'type' => Literal::class,
4098
                'type' => Literal::class,
4127
                'options' => [
4099
                'options' => [
4128
                    'route' => '/services',
4100
                    'route' => '/services',
4129
                    'defaults' => [
4101
                    'defaults' => [
Línea 4170... Línea 4142...
4170
                            'defaults' => [
4142
                            'defaults' => [
4171
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4143
                                'controller' => '\LeadersLinked\Controller\ServiceController',
4172
                                'action' => 'signout'
4144
                                'action' => 'signout'
4173
                            ]
4145
                            ]
4174
                        ]
4146
                        ]
4175
                    ],
4147
                    ]
4176
                ],
4148
                ]
4177
            ],        
4149
            ]
4178
            
-
 
4179
            
-
 
4180
        ],
4150
        ]
4181
        
-
 
4182
    ],
4151
    ],
4183
    'controllers' => [
4152
    'controllers' => [
4184
        'factories' => [
4153
        'factories' => [
4185
            \LeadersLinked\Controller\AbuseReportController::class => \LeadersLinked\Factory\Controller\AbuseReportControllerFactory::class,
4154
            \LeadersLinked\Controller\AbuseReportController::class => \LeadersLinked\Factory\Controller\AbuseReportControllerFactory::class,
4186
            
4155
 
4187
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
4156
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
4188
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4157
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4189
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4158
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4190
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
4159
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
4191
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
4160
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
Línea 4210... Línea 4179...
4210
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4179
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4211
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4180
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4212
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4181
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4213
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
4182
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
4214
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
4183
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
4215
            //\LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
4184
            // \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
4216
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
4185
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
4217
            
-
 
4218
            
4186
 
4219
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
4187
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
4220
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4188
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4221
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4189
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4222
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
4190
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
4223
            
4191
 
4224
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
4192
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
4225
            
-
 
4226
            
4193
 
4227
            
-
 
4228
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4194
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4229
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4195
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4230
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4196
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4231
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
4197
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
4232
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
4198
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
4233
            \LeadersLinked\Controller\HabitSkillRegisterController::class  => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
4199
            \LeadersLinked\Controller\HabitSkillRegisterController::class => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
4234
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
4200
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class
4235
       
-
 
4236
        ],
4201
        ],
4237
        'aliases' => [
4202
        'aliases' => [
4238
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
4203
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
4239
            
4204
 
4240
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4205
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4241
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
4206
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
4242
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4207
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4243
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
4208
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
4244
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
4209
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
Línea 4255... Línea 4220...
4255
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
4220
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
4256
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
4221
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
4257
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4222
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4258
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4223
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4259
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4224
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4260
          
4225
 
4261
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
4226
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
4262
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
4227
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
4263
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4228
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4264
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4229
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4265
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4230
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4266
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4231
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4267
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4232
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4268
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
4233
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
Línea 4269... Línea -...
4269
 
-
 
4270
 
-
 
4271
           
4234
 
4272
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
4235
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
4273
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
4236
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
Línea 4274... Línea -...
4274
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
-
 
4275
 
4237
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
4276
            
-
 
4277
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
4238
 
4278
            
4239
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
4279
            
4240
 
4280
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4241
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4281
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4242
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4282
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4243
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4283
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4244
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4284
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4245
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4285
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4246
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4286
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4247
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class
4287
            //'\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4248
            // '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4288
            //'\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4249
            // '\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4289
        ]
4250
        ]
4290
    ],
4251
    ],
4291
    'laminas-cli' => [
4252
    'laminas-cli' => [
Línea 4300... Línea 4261...
4300
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
4261
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
4301
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
4262
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
4302
            'check-external-credenditals' => \LeadersLinked\Command\CheckExternalCredentialsCommand::class,
4263
            'check-external-credenditals' => \LeadersLinked\Command\CheckExternalCredentialsCommand::class,
4303
            'send-data-to-s3-command' => \LeadersLinked\Command\SendDataToS3Command::class,
4264
            'send-data-to-s3-command' => \LeadersLinked\Command\SendDataToS3Command::class,
4304
            'test-command' => \LeadersLinked\Command\TestCommand::class,
4265
            'test-command' => \LeadersLinked\Command\TestCommand::class,
4305
            'test-send-push' => \LeadersLinked\Command\TestSendPushCommand::class,
4266
            'test-send-push' => \LeadersLinked\Command\TestSendPushCommand::class
4306
 
-
 
4307
        ]
4267
        ]
4308
    ],
4268
    ],
4309
    'listeners' => [
-
 
4310
      //  \LeadersLinked\Listener\CorsRequestListener::class,
4269
    'listeners' => [ // \LeadersLinked\Listener\CorsRequestListener::class,
4311
    ],
4270
    ],
4312
    'service_manager' => [
4271
    'service_manager' => [
4313
        'abstract_factories' => [
4272
        'abstract_factories' => [
4314
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
4273
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
4315
        ],
4274
        ],
4316
        'factories' => [
4275
        'factories' => [
4317
            'RenderingStrategy' => function ($container) {
4276
            'RenderingStrategy' => function ($container) {
4318
                $translator = $container->get('MvcTranslator');
4277
                $translator = $container->get('MvcTranslator');
4319
                return new \LeadersLinked\View\RenderingStrategy($translator);
4278
                return new \LeadersLinked\View\RenderingStrategy($translator);
4320
            },
4279
            },
4321
           // 'corsRequestListener' => function ($container) {
4280
            // 'corsRequestListener' => function ($container) {
4322
    //
4281
            //
4323
         //       return new \LeadersLinked\Listener\CorsRequestListener();
4282
            // return new \LeadersLinked\Listener\CorsRequestListener();
4324
      //      },
4283
            // },
4325
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4284
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4326
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
4285
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
Línea 4327... Línea 4286...
4327
 
4286
 
4328
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
4287
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
Línea 4333... Línea 4292...
4333
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
4292
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
4334
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
4293
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
Línea 4335... Línea 4294...
4335
 
4294
 
Línea 4336... Línea -...
4336
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
-
 
4337
 
4295
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
4338
 
4296
 
4339
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
4297
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
Línea 4340... Línea 4298...
4340
            \LeadersLinked\Command\CheckExternalCredentialsCommand::class => \LeadersLinked\Factory\Command\CheckExternalCredentialsCommandFactory::class,
4298
            \LeadersLinked\Command\CheckExternalCredentialsCommand::class => \LeadersLinked\Factory\Command\CheckExternalCredentialsCommandFactory::class,
4341
            \LeadersLinked\Command\SendDataToS3Command::class => \LeadersLinked\Factory\Command\SendDataToS3CommandFactory::class,
4299
            \LeadersLinked\Command\SendDataToS3Command::class => \LeadersLinked\Factory\Command\SendDataToS3CommandFactory::class,
4342
 
4300
 
4343
            \LeadersLinked\Command\ProcessScheduledContentCommand::class => \LeadersLinked\Factory\Command\ProcessScheduledContentCommandFactory::class,
4301
            \LeadersLinked\Command\ProcessScheduledContentCommand::class => \LeadersLinked\Factory\Command\ProcessScheduledContentCommandFactory::class,
4344
            
-
 
4345
            \LeadersLinked\Command\TestCommand::class => \LeadersLinked\Factory\Command\TestCommandFactory::class,
4302
 
4346
            \LeadersLinked\Command\TestSendPushCommand::class => \LeadersLinked\Factory\Command\TestSendPushCommandFactory::class,
-
 
4347
            
4303
            \LeadersLinked\Command\TestCommand::class => \LeadersLinked\Factory\Command\TestCommandFactory::class,
4348
        ],
4304
            \LeadersLinked\Command\TestSendPushCommand::class => \LeadersLinked\Factory\Command\TestSendPushCommandFactory::class
4349
        'aliases' => [
4305
        ],
4350
            // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
4306
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
4351
        ]
4307
        ]
4352
    ],
4308
    ],
4353
    'controller_plugins' => [
4309
    'controller_plugins' => [
4354
        'invokables' => [],
4310
        'invokables' => [],
4355
        'factories' => [
4311
        'factories' => [
4356
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
4312
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
4357
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class,
4313
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class
4358
        ],
4314
        ],
4359
        'aliases' => [
4315
        'aliases' => [
4360
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
4316
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
4361
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class,
4317
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class
4362
        ]
4318
        ]
4363
    ],
4319
    ],