PHP 클래스 Webmozart\Console\Handler\Help\HelpAsciiDocHandler

부터: 1.0
저자: Bernhard Schussek ([email protected])
파일 보기 프로젝트 열기: webmozart/console 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $path, ExecutableFinder $executableFinder = null, ProcessLauncher $processLauncher = null ) Creates the handler.
getLessBinary ( ) : string Returns the "less" binary used to display the AsciiDoc page.
handle ( Args $args, IO $io )
setLessBinary ( string $lessBinary ) Sets the "less" binary used to display the AsciiDoc page.

메소드 상세

__construct() 공개 메소드

Creates the handler.
public __construct ( string $path, ExecutableFinder $executableFinder = null, ProcessLauncher $processLauncher = null )
$path string The path to the AsciiDoc file.
$executableFinder Symfony\Component\Process\ExecutableFinder The finder used to find the "less" binary.
$processLauncher Webmozart\Console\Process\ProcessLauncher The launcher for executing the "less" binary.

getLessBinary() 공개 메소드

Returns the "less" binary used to display the AsciiDoc page.
public getLessBinary ( ) : string
리턴 string The "less" binary or `null` if the binary is auto-detected.

handle() 공개 메소드

public handle ( Args $args, IO $io )
$args Webmozart\Console\Api\Args\Args
$io Webmozart\Console\Api\IO\IO

setLessBinary() 공개 메소드

Sets the "less" binary used to display the AsciiDoc page.
public setLessBinary ( string $lessBinary )
$lessBinary string The "less" binary to use.