| 1 | <?php |
||
| 11 | class PHPDbgBinFile |
||
| 12 | { |
||
| 13 | /** @var string Realpath to the PHPDbg bin location */ |
||
| 14 | private $phpDbgBin; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * PHPDbgBinFile constructor. |
||
| 18 | */ |
||
| 19 | 1 | public function __construct() |
|
| 20 | { |
||
| 21 | 1 | $this->phpDbgBin = $this->getPhpDbgBinLocation(); |
|
| 22 | 1 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | * @throws \Exception |
||
| 27 | */ |
||
| 28 | public function getPhpDbgBin() |
||
| 36 | |||
| 37 | 1 | public function isAvailable() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 1 | private function getPhpDbgBinLocation() |
|
| 52 | } |
||
| 53 |