abstract class Binary implements AdapterInterface
The abstract binary adapter
Methods
__construct(type $binaryPathname, Logger $logger, integer $timeout)
The path to the binary |
||
Binary |
setTimeout(integer $timeout)
Set the timeout for the underlying processes ; 0 means no timeout |
|
integer |
getTimeout()
Get the timeout for the underlyning processes ; 0 means no timeout |
|
string|null |
getVersion()
Try to get the version of the binary. |
Details
at line 50
public
__construct(type $binaryPathname, Logger $logger, integer $timeout)
The path to the binary
at line 70
public Binary
setTimeout(integer $timeout)
Set the timeout for the underlying processes ; 0 means no timeout
at line 86
public integer
getTimeout()
Get the timeout for the underlyning processes ; 0 means no timeout
at line 96
public string|null
getVersion()
Try to get the version of the binary.
If the detection fails, return null