| 1 | <?php |
||
| 17 | class PathConfiguration |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $excludedDirs; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $extensions; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $basePath; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var bool |
||
| 36 | */ |
||
| 37 | private $followSymlinks = false; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param mixed $basePath |
||
| 41 | * @return self |
||
| 42 | */ |
||
| 43 | public function setBasePath($basePath) |
||
| 44 | { |
||
| 45 | $this->basePath = $basePath; |
||
| 46 | return $this; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getBasePath() |
||
| 53 | { |
||
| 54 | return $this->basePath; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param mixed $excludedDirs |
||
| 59 | * @return self |
||
| 60 | */ |
||
| 61 | public function setExcludedDirs($excludedDirs) |
||
| 62 | { |
||
| 63 | $this->excludedDirs = $excludedDirs; |
||
| 64 | return $this; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function getExcludedDirs() |
||
| 71 | { |
||
| 72 | return $this->excludedDirs; |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param mixed $extensions |
||
| 77 | * @return self |
||
| 78 | */ |
||
| 79 | public function setExtensions($extensions) |
||
| 80 | { |
||
| 81 | $this->extensions = $extensions; |
||
| 82 | return $this; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | public function getExtensions() |
||
| 89 | { |
||
| 90 | return $this->extensions; |
||
| 91 | } |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @return boolean |
||
| 95 | */ |
||
| 96 | public function isFollowSymlinks() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @param boolean $followSymlinks |
||
| 103 | * @return self |
||
| 104 | */ |
||
| 105 | public function setFollowSymlinks($followSymlinks) |
||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | } |