PHP 클래스 TQ\Git\StreamWrapper\StreamWrapper

파일 보기 프로젝트 열기: teqneers/php-stream-wrapper-for-git 1 사용 예제들

공개 메소드들

메소드 설명
register ( string $protocol, Binary | string | null | TQ\Vcs\StreamWrapper\PathFactoryInterface $binary = null ) Registers the stream wrapper with the given protocol

메소드 상세

register() 공개 정적인 메소드

Registers the stream wrapper with the given protocol
public static register ( string $protocol, Binary | string | null | TQ\Vcs\StreamWrapper\PathFactoryInterface $binary = null )
$protocol string The protocol (such as "git")
$binary TQ\Git\Cli\Binary | string | null | TQ\Vcs\StreamWrapper\PathFactoryInterface The Git binary or a path factory