PublicRepository::getConfigFile()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace App\Satis\Context;
4
5
use App\Satis\BuildContext;
6
use App\Satis\ConfigBuilder;
7
8
/**
9
 * @author Lukas Homza <[email protected]>
10
 */
11
class PublicRepository extends BuildContext {
12
    /**
13
     * @return int
14
     */
15
    public function getType() {
16
        return ConfigBuilder::PUBLIC_REPOSITORY;
17
    }
18
19
    /**
20
     * @return string
21
     */
22
    public function getConfigFile() {
23
        return config('satis.public_mirror');
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getBuildDirectory() {
30
        return config('satis.public_repository');
31
    }
32
}
33