src/Handler/Help/HelpAsciiDocHandler.php 1 location
|
@@ 106-114 (lines=9) @@
|
103 |
|
* |
104 |
|
* @param string $lessBinary The "less" binary to use. |
105 |
|
*/ |
106 |
|
public function setLessBinary($lessBinary) |
107 |
|
{ |
108 |
|
if (null !== $lessBinary) { |
109 |
|
Assert::string($lessBinary, 'The less binary must be a string or null. Got: %s'); |
110 |
|
Assert::notEmpty($lessBinary, 'The less binary must not be empty.'); |
111 |
|
} |
112 |
|
|
113 |
|
$this->lessBinary = $lessBinary; |
114 |
|
} |
115 |
|
} |
116 |
|
|
src/Handler/Help/HelpHandler.php 1 location
|
@@ 262-270 (lines=9) @@
|
259 |
|
* |
260 |
|
* @param string $lessBinary The "less" binary to use. |
261 |
|
*/ |
262 |
|
public function setLessBinary($lessBinary) |
263 |
|
{ |
264 |
|
if (null !== $lessBinary) { |
265 |
|
Assert::string($lessBinary, 'The less binary must be a string or null. Got: %s'); |
266 |
|
Assert::notEmpty($lessBinary, 'The less binary must not be empty.'); |
267 |
|
} |
268 |
|
|
269 |
|
$this->lessBinary = $lessBinary; |
270 |
|
} |
271 |
|
|
272 |
|
/** |
273 |
|
* Returns the directory containing the man pages. |