/
Manager.php
89 lines (72 loc) · 2.77 KB
/
Manager.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
namespace Concrete\Core\Command\Task;
use Concrete\Core\Application\Application;
use Concrete\Core\Command\Task\Controller\CheckAutomatedGroupsController;
use Concrete\Core\Command\Task\Controller\ClearCacheController;
use Concrete\Core\Command\Task\Controller\DeactivateUsersController;
use Concrete\Core\Command\Task\Controller\GenerateSitemapController;
use Concrete\Core\Command\Task\Controller\GenerateThumbnailsController;
use Concrete\Core\Command\Task\Controller\ProcessEmailController;
use Concrete\Core\Command\Task\Controller\ReindexContentController;
use Concrete\Core\Command\Task\Controller\RemoveUnvalidatedUsersController;
use Concrete\Core\Command\Task\Controller\RemoveOldFileAttachmentsController;
use Concrete\Core\Command\Task\Controller\RemoveOldPageVersionsController;
use Concrete\Core\Command\Task\Controller\RescanFilesController;
use Concrete\Core\Command\Task\Controller\UpdateStatisticsController;
use Concrete\Core\Support\Manager as CoreManager;
defined('C5_EXECUTE') or die("Access Denied.");
class Manager extends CoreManager
{
public function createRescanFilesDriver()
{
return $this->container->make(RescanFilesController::class);
}
public function createClearCacheDriver()
{
return $this->container->make(ClearCacheController::class);
}
public function createGenerateSitemapDriver()
{
return $this->container->make(GenerateSitemapController::class);
}
public function createCheckAutomatedGroupsDriver()
{
return $this->container->make(CheckAutomatedGroupsController::class);
}
public function createDeactivateUsersDriver()
{
return $this->container->make(DeactivateUsersController::class);
}
public function createGenerateThumbnailsDriver()
{
return $this->container->make(GenerateThumbnailsController::class);
}
public function createUpdateStatisticsDriver()
{
return $this->container->make(UpdateStatisticsController::class);
}
public function createRemoveOldPageVersionsDriver()
{
return $this->container->make(RemoveOldPageVersionsController::class);
}
public function createReindexContentDriver()
{
return $this->container->make(ReindexContentController::class);
}
public function createProcessEmailDriver()
{
return $this->container->make(ProcessEmailController::class);
}
public function createRemoveOldFileAttachmentsDriver()
{
return $this->container->make(RemoveOldFileAttachmentsController::class);
}
public function createRemoveUnvalidatedUsersDriver()
{
return $this->container->make(RemoveUnvalidatedUsersController::class);
}
public function __construct(Application $app)
{
parent::__construct($app);
}
}