| 1 | <?php |
||
| 17 | class DetectionResult implements DetectionResultInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | private $detected; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var MagentoHelper |
||
| 26 | */ |
||
| 27 | private $helper; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * DetectionResult constructor. |
||
| 31 | * |
||
| 32 | * @param MagentoHelper $helper |
||
| 33 | * @param string $folder |
||
| 34 | * @param array $subFolders |
||
| 35 | */ |
||
| 36 | public function __construct(MagentoHelper $helper, $folder, array $subFolders = array()) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return bool |
||
| 44 | */ |
||
| 45 | public function isDetected() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public function getRootFolder() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return bool |
||
| 60 | */ |
||
| 61 | public function isEnterpriseEdition() |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return int |
||
| 68 | */ |
||
| 69 | public function getMajorVersion() |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return boolean |
||
| 76 | */ |
||
| 77 | public function isMagerunStopFileFound() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @return string |
||
| 84 | */ |
||
| 85 | public function getMagerunStopFileFolder() |
||
| 89 | } |
||
| 90 |