-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathService.php
56 lines (45 loc) · 908 Bytes
/
Service.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
<?php
/**
* @package ImpressPages
*/
/**
* Created by PhpStorm.
* User: maskas
* Date: 16.2.27
* Time: 18.34
*/
namespace Plugin\Composer;
class Service
{
public static function install()
{
$model = new Model();
return $model->install();
}
public static function clearCache()
{
$model = new Model();
return $model->clearCache();
}
public static function version()
{
$model = new Model();
return $model->version();
}
public static function update()
{
$model = new Model();
return $model->update();
}
public static function getConfig()
{
$model = new Model();
$config = $model->getConfig();
return $config;
}
public static function setConfig($config)
{
$model = new Model();
return $model->setConfig($config);
}
}