Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16766 Rev 16768
Línea 2... Línea 2...
2
declare(strict_types=1);
2
declare(strict_types=1);
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
namespace LeadersLinked\Controller;
4
namespace LeadersLinked\Controller;
5
 
-
 
-
 
5
 
6
use Laminas\Db\Adapter\AdapterInterface;
6
use Laminas\Db\Adapter\AdapterInterface;
7
use LeadersLinked\Cache\CacheInterface;
7
 
8
use Laminas\Mvc\Controller\AbstractActionController;
8
use Laminas\Mvc\Controller\AbstractActionController;
9
use Laminas\Log\LoggerInterface;
9
use Laminas\Log\LoggerInterface;
10
use Laminas\View\Model\ViewModel;
10
use Laminas\View\Model\ViewModel;
Línea 32... Línea 32...
32
    private $adapter;
32
    private $adapter;
Línea 33... Línea 33...
33
 
33
 
34
 
34
 
35
    /**
-
 
36
     *
-
 
37
     * @var CacheInterface
-
 
38
     */
-
 
39
    private $cache;
-
 
40
 
-
 
41
    /**
35
    /**
42
     *
36
     *
43
     * @var  LoggerInterface
37
     * @var  LoggerInterface
Línea 58... Línea 52...
58
    private $translator;
52
    private $translator;
Línea 59... Línea 53...
59
 
53
 
60
    /**
54
    /**
61
     *
55
     *
62
     * @param AdapterInterface $adapter
-
 
63
     * @param CacheInterface $cache
56
     * @param AdapterInterface $adapter
64
     * @param LoggerInterface $logger
57
     * @param LoggerInterface $logger
65
     * @param Translator $translator
58
     * @param Translator $translator
66
     * @param array $config
59
     * @param array $config
67
     */
60
     */
68
    public function __construct($adapter, $cache, $logger,  $config, $translator)
61
    public function __construct($adapter, $logger,  $config, $translator)
69
    {
62
    {
70
        $this->adapter      = $adapter;
-
 
71
        $this->cache        = $cache;
63
        $this->adapter      = $adapter;
72
        $this->logger       = $logger;
64
        $this->logger       = $logger;
73
        $this->config       = $config;
65
        $this->config       = $config;
74
        $this->translator = $translator;
66
        $this->translator = $translator;