src/Handler/Help/HelpAsciiDocHandler.php 1 location
|
@@ 58-65 (lines=8) @@
|
| 55 |
|
* @param ProcessLauncher $processLauncher The launcher for executing the |
| 56 |
|
* "less" binary. |
| 57 |
|
*/ |
| 58 |
|
public function __construct($path, ExecutableFinder $executableFinder = null, ProcessLauncher $processLauncher = null) |
| 59 |
|
{ |
| 60 |
|
Assert::file($path); |
| 61 |
|
|
| 62 |
|
$this->path = $path; |
| 63 |
|
$this->executableFinder = $executableFinder ?: new ExecutableFinder(); |
| 64 |
|
$this->processLauncher = $processLauncher ?: new ProcessLauncher(); |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
/** |
| 68 |
|
* {@inheritdoc} |
src/Handler/Help/HelpManHandler.php 1 location
|
@@ 54-61 (lines=8) @@
|
| 51 |
|
* @param ProcessLauncher $processLauncher The launcher for executing the |
| 52 |
|
* "man" binary. |
| 53 |
|
*/ |
| 54 |
|
public function __construct($path, ExecutableFinder $executableFinder = null, ProcessLauncher $processLauncher = null) |
| 55 |
|
{ |
| 56 |
|
Assert::file($path); |
| 57 |
|
|
| 58 |
|
$this->path = $path; |
| 59 |
|
$this->executableFinder = $executableFinder ?: new ExecutableFinder(); |
| 60 |
|
$this->processLauncher = $processLauncher ?: new ProcessLauncher(); |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
/** |
| 64 |
|
* {@inheritdoc} |