| 1 | <?php |
||
| 10 | class SuitePath |
||
| 11 | { |
||
| 12 | const DEFAULT_SUFFIX = 'Test.php'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $path; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $suffix; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string[]s |
||
| 26 | */ |
||
| 27 | protected $excludedPaths; |
||
| 28 | |||
| 29 | 14 | public function __construct(string $path, array $excludedPaths, string $suffix) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 14 | public function getPath(): string |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return string[] |
||
| 49 | */ |
||
| 50 | 12 | public function getExcludedPaths(): array |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | 12 | public function getSuffix(): string |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | 12 | public function getPattern(): string |
|
| 70 | } |
||
| 71 |