Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16766 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16766 Rev 16768
Línea 1... Línea 1...
1
<?php
1
<?php
2
declare(strict_types=1);
2
declare(strict_types=1);
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea -...
4
namespace LeadersLinked\Controller;
-
 
5
 
-
 
6
use Laminas\Authentication\AuthenticationService;
4
namespace LeadersLinked\Controller;
7
use Laminas\Authentication\Result as AuthResult;
-
 
-
 
5
 
8
use Laminas\Db\Adapter\AdapterInterface;
6
use Laminas\Db\Adapter\AdapterInterface;
9
use LeadersLinked\Cache\CacheInterface;
-
 
10
use Laminas\Mvc\Controller\AbstractActionController;
7
 
11
use Laminas\Mvc\I18n\Translator;
-
 
12
use Laminas\Log\LoggerInterface;
8
use Laminas\Mvc\Controller\AbstractActionController;
13
use Laminas\View\Model\ViewModel;
-
 
14
use Laminas\View\Model\JsonModel;
9
use Laminas\Log\LoggerInterface;
15
use LeadersLinked\Model\PlanningObjectivesAndGoalsObjectives;
-
 
16
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
-
 
17
use LeadersLinked\Form\PlanningObjectivesAndGoalsObjectivesForm;
10
use Laminas\View\Model\JsonModel;
18
use LeadersLinked\Library\PlanningObjectivesAndGoalsObjectivesPdfOne;
11
use LeadersLinked\Hydrator\ObjectPropertyHydrator;
19
use LeadersLinked\Library\Functions;
-
 
20
use LeadersLinked\Mapper\UserMapper;
-
 
21
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsTaskMapper;
-
 
22
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsGoalsMapper;
-
 
23
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsObjectivesMapper;
12
use LeadersLinked\Library\Functions;
Línea 24... Línea 13...
24
use LeadersLinked\Mapper\PlanningObjectivesAndGoalsTaskMembersMapper;
13
use LeadersLinked\Mapper\UserMapper;
25
use LeadersLinked\Mapper\CompanyMapper;
14
use LeadersLinked\Mapper\CompanyMapper;
26
 
15
 
Línea 34... Línea 23...
34
     *
23
     *
35
     * @var AdapterInterface
24
     * @var AdapterInterface
36
     */
25
     */
37
    private $adapter;
26
    private $adapter;
Línea 38... Línea -...
38
    
-
 
39
    
-
 
40
    /**
-
 
41
     *
-
 
42
     * @var CacheInterface
-
 
43
     */
-
 
44
    private $cache;
-
 
45
    
27
    
46
    /**
28
    /**
47
     *
29
     *
48
     * @var  LoggerInterface
30
     * @var  LoggerInterface
49
     */
31
     */
Línea 53... Línea 35...
53
     *
35
     *
54
     * @var array
36
     * @var array
55
     */
37
     */
56
    private $config;
38
    private $config;
Línea 57... Línea -...
57
    
-
 
58
    
-
 
59
    
39
    
60
    /**
40
    /**
61
     *
41
     *
62
     * @param AdapterInterface $adapter
-
 
63
     * @param CacheInterface $cache
42
     * @param AdapterInterface $adapter
64
     * @param LoggerInterface $logger
43
     * @param LoggerInterface $logger
65
     * @param array $config
44
     * @param array $config
66
     */
45
     */
67
    public function __construct($adapter, $cache , $logger, $config)
46
    public function __construct($adapter, $logger, $config)
68
    {
47
    {
69
        $this->adapter      = $adapter;
-
 
70
        $this->cache        = $cache;
48
        $this->adapter = $adapter;
71
        $this->logger       = $logger;
49
        $this->logger = $logger;
72
        $this->config       = $config;
-
 
73
        
-
 
74
        
50
        $this->config = $config;