Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16768 Rev 16769
Línea 12... Línea 12...
12
 
12
 
Línea 13... Línea 13...
13
class SurveySectionController extends AbstractActionController {
13
class SurveySectionController extends AbstractActionController {
14
 
14
 
15
    /**
15
    /**
16
     *
16
     *
17
     * @var AdapterInterface
17
     * @var \Laminas\Db\Adapter\AdapterInterface
18
     */
18
     */
19
    private $adapter;
19
    private $adapter;
20
 
20
    
-
 
21
    /**
-
 
22
     *
-
 
23
     * @var \LeadersLinked\Cache\CacheInterface
-
 
24
     */
-
 
25
    private $cache;
-
 
26
    
-
 
27
    
21
    /**
28
    /**
22
     *
29
     *
23
     * @var  LoggerInterface
30
     * @var \Laminas\Log\LoggerInterface
24
     */
31
     */
25
    private $logger;
32
    private $logger;
26
 
33
    
27
    /**
34
    /**
28
     *
35
     *
29
     * @var array
36
     * @var array
-
 
37
     */
30
     */
38
    private $config;
-
 
39
    
-
 
40
    
-
 
41
    /**
-
 
42
     *
-
 
43
     * @var \Laminas\Mvc\I18n\Translator
-
 
44
     */
-
 
45
    private $translator;
31
    private $config;
46
    
32
 
47
    
33
    /**
48
    /**
-
 
49
     *
34
     *
50
     * @param \Laminas\Db\Adapter\AdapterInterface $adapter
35
     * @param AdapterInterface $adapter
51
     * @param \LeadersLinked\Cache\CacheInterface $cache
-
 
52
     * @param \Laminas\Log\LoggerInterface LoggerInterface $logger
36
     * @param LoggerInterface $logger
53
     * @param array $config
37
     * @param array $config
54
     * @param \Laminas\Mvc\I18n\Translator $translator
38
     */
55
     */
39
    public function __construct($adapter, $logger, $config) 
56
    public function __construct($adapter, $cache, $logger, $config, $translator)
-
 
57
    {
40
    {
58
        $this->adapter      = $adapter;
41
        $this->adapter = $adapter;
59
        $this->cache        = $cache;
-
 
60
        $this->logger       = $logger;
42
        $this->logger = $logger;
61
        $this->config       = $config;
Línea 43... Línea 62...
43
        $this->config = $config;
62
        $this->translator   = $translator;
Línea 44... Línea 63...
44
    }
63
    }