~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Factory/UpgradeFactory.php

  • Committer: Dan Garner
  • Date: 2016-04-05 12:44:24 UTC
  • mfrom: (487.1.67)
  • Revision ID: git-v1:3ee1212b02c722a146a00e094f0ff69f88fb5c7d
Merge pull request #149 from dasgarner/develop

Post 1.8.0-alpha3 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
namespace Xibo\Factory;
10
10
 
11
11
 
 
12
use Slim\Helper\Set;
12
13
use Xibo\Entity\Upgrade;
13
14
use Xibo\Exception\NotFoundException;
14
15
use Xibo\Service\ConfigService;
26
27
{
27
28
    private $provisioned = false;
28
29
 
 
30
    /** @var  Set */
 
31
    private $container;
 
32
 
29
33
    /** @var  DateServiceInterface */
30
34
    private $date;
31
35
 
37
41
     * @param StorageServiceInterface $store
38
42
     * @param LogServiceInterface $log
39
43
     * @param SanitizerServiceInterface $sanitizerService
 
44
     * @param Set $container
40
45
     * @param DateServiceInterface $date
41
46
     * @param ConfigServiceInterface $config
42
47
     */
43
 
    public function __construct($store, $log, $sanitizerService, $date, $config)
 
48
    public function __construct($store, $log, $sanitizerService, $container, $date, $config)
44
49
    {
45
50
        $this->setCommonDependencies($store, $log, $sanitizerService);
 
51
        $this->container = $container;
46
52
        $this->date = $date;
47
53
        $this->config = $config;
48
54
    }
52
58
     */
53
59
    public function createEmpty()
54
60
    {
55
 
        return new Upgrade($this->getStore(), $this->getLog(), $this->config);
 
61
        return new Upgrade($this->getStore(), $this->getLog(), $this->container, $this->config);
56
62
    }
57
63
 
58
64
    /**