PHP 클래스 Symfony\Component\Process\ExecutableFinder

저자: Fabien Potencier ([email protected])
저자: Johannes M. Schmitt ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
addSuffix ( $suffix )
find ( string $name, string $default = null, array $extraDirs = [] ) : string Finds an executable by name.
setSuffixes ( array $suffixes )

메소드 상세

__construct() 공개 메소드

public __construct ( )

addSuffix() 공개 메소드

public addSuffix ( $suffix )

find() 공개 메소드

Finds an executable by name.
public find ( string $name, string $default = null, array $extraDirs = [] ) : string
$name string The executable name (without the extension)
$default string The default to return if no executable is found
$extraDirs array Additional dirs to check into
리턴 string The executable path or default value

setSuffixes() 공개 메소드

public setSuffixes ( array $suffixes )
$suffixes array