1 | <?php |
||
12 | class PHPDbgBinFile |
||
13 | { |
||
14 | /** @var string Realpath to the PHPDbg bin location */ |
||
15 | private $phpDbgBin; |
||
16 | |||
17 | /** |
||
18 | * PHPDbgBinFile constructor. |
||
19 | */ |
||
20 | 3 | public function __construct() |
|
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | * @throws \RuntimeException When PHPDBG is not available |
||
28 | */ |
||
29 | 2 | public function getPhpDbgBin(): string |
|
37 | |||
38 | 3 | public function isAvailable(): bool |
|
42 | |||
43 | 3 | private function getPhpDbgBinLocation(): string |
|
56 | } |
||
57 |