| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class DeployDefinitionFileFinder |
||
| 8 | { |
||
| 9 | const DEPLOY_FILENAME_PATTERN = '/^(DeployDefinition\_|Deploy\_).*\.php$/'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $searchRoot; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var Finder |
||
| 18 | */ |
||
| 19 | private $finder; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $searchRoot |
||
| 23 | */ |
||
| 24 | public function __construct(string $searchRoot) |
||
| 25 | { |
||
| 26 | $this->searchRoot = $searchRoot; |
||
| 27 | $this->finder = new Finder(); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return \ArrayObject |
||
| 32 | */ |
||
| 33 | public function find(): \ArrayObject |
||
| 55 | } |
||
| 56 | } |
||
| 57 |