Completed
Push — master ( 2afe63...db6e9c )
by Christian
02:24
created

Adapter::install()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
nc 1
1
<?php
2
3
namespace uuf6429\ElderBrother\Vcs\Adapter;
4
5
use Psr\Log\LoggerInterface;
6
7
abstract class Adapter
8
{
9
    /**
10
     * @var LoggerInterface
11
     */
12
    protected $logger;
13
14
    /**
15
     * @return bool
16
     */
17
    abstract public function isAvailable();
18
19
    /**
20
     * @return bool
21
     */
22
    abstract public function isInstalled();
23
24
    /**
25
     * @return bool
26
     */
27
    abstract public function install();
28
29
    /**
30
     * @return bool
31
     */
32
    abstract public function uninstall();
33
34
    /**
35
     * @param LoggerInterface $logger
36
     */
37
    public function __construct(LoggerInterface $logger)
38
    {
39
        $this->logger = $logger;
40
    }
41
}
42