-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathReplacerConfig.php
executable file
·62 lines (44 loc) · 1.38 KB
/
ReplacerConfig.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
<?php
/**
*
* @author gyula
*/
class ReplacerConfig {
private $regexes;
private $path;
private $excludedPaths;
private $excludedFiles;
private $excludedRegexes;
private $excludedExtensions;
private $includedExtensions;
public function __construct($regexes, $path, $excludedExtensions = [], $excludedPaths = [], $excludedFiles = [], $excludedRegexes = [], $includedExtensions = []) {
$this->regexes = $regexes;
$this->path = $path;
$this->excludedPaths = $excludedPaths;
$this->excludedFiles = $excludedFiles;
$this->excludedRegexes = $excludedRegexes;
$this->excludedExtensions = $excludedExtensions;
$this->includedExtensions = $includedExtensions;
}
public function getRegexes() {
return $this->regexes;
}
public function getPath() {
return $this->path;
}
public function getExcludedPaths() {
return $this->excludedPaths;
}
public function getExcludedRegexes() {
return $this->excludedRegexes;
}
public function getExcludedFiles() {
return $this->excludedFiles;
}
public function getExcludedExtensions() {
return $this->excludedExtensions;
}
public function getIncludedExtensions() {
return $this->includedExtensions;
}
}