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 29... Línea 29...
29
use LeadersLinked\Model\Survey;
29
use LeadersLinked\Model\Survey;
30
class SurveyTestController extends AbstractActionController {
30
class SurveyTestController extends AbstractActionController {
Línea 31... Línea 31...
31
 
31
 
32
    /**
32
    /**
33
     *
33
     *
34
     * @var AdapterInterface
34
     * @var \Laminas\Db\Adapter\AdapterInterface
35
     */
35
     */
36
    private $adapter;
36
    private $adapter;
-
 
37
    
-
 
38
    /**
-
 
39
     *
-
 
40
     * @var \LeadersLinked\Cache\CacheInterface
-
 
41
     */
-
 
42
    private $cache;
37
 
43
    
38
 
44
    
39
    /**
45
    /**
40
     *
46
     *
41
     * @var  LoggerInterface
47
     * @var \Laminas\Log\LoggerInterface
42
     */
48
     */
43
    private $logger;
49
    private $logger;
44
 
50
    
45
    /**
51
    /**
46
     *
52
     *
47
     * @var array
53
     * @var array
48
     */
54
     */
-
 
55
    private $config;
49
    private $config;
56
    
-
 
57
    
-
 
58
    /**
-
 
59
     *
-
 
60
     * @var \Laminas\Mvc\I18n\Translator
-
 
61
     */
-
 
62
    private $translator;
-
 
63
    
50
 
64
    
51
    /**
65
    /**
52
     *
66
     *
-
 
67
     * @param \Laminas\Db\Adapter\AdapterInterface $adapter
53
     * @param AdapterInterface $adapter
68
     * @param \LeadersLinked\Cache\CacheInterface $cache
54
     * @param LoggerInterface $logger
69
     * @param \Laminas\Log\LoggerInterface LoggerInterface $logger
-
 
70
     * @param array $config
55
     * @param array $config
71
     * @param \Laminas\Mvc\I18n\Translator $translator
56
     */
72
     */
57
    public function __construct($adapter, $logger, $config) 
73
    public function __construct($adapter, $cache, $logger, $config, $translator)
58
    {
74
    {
-
 
75
        $this->adapter      = $adapter;
59
        $this->adapter = $adapter;
76
        $this->cache        = $cache;
60
        $this->logger = $logger;
77
        $this->logger       = $logger;
-
 
78
        $this->config       = $config;
61
        $this->config = $config;
79
        $this->translator   = $translator;
Línea 62... Línea 80...
62
    }
80
    }
Línea 63... Línea 81...
63
 
81