PHP 클래스 TQ\Git\StreamWrapper\PathFactory

상속: extends TQ\Vcs\StreamWrapper\AbstractPathFactory
파일 보기 프로젝트 열기: teqneers/php-stream-wrapper-for-git

보호된 프로퍼티들

프로퍼티 타입 설명
$git TQ\Git\Cli\Binary The Git binary

공개 메소드들

메소드 설명
__construct ( string $protocol, Binary | string | null $git = null, RepositoryRegistry $map = null ) Creates a path factory

보호된 메소드들

메소드 설명
createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface Creates a new Repository instance for the given path

메소드 상세

__construct() 공개 메소드

Creates a path factory
public __construct ( string $protocol, Binary | string | null $git = null, RepositoryRegistry $map = null )
$protocol string The protocol (such as "git")
$git TQ\Git\Cli\Binary | string | null The Git binary
$map TQ\Vcs\StreamWrapper\RepositoryRegistry The repository registry

createRepositoryForPath() 보호된 메소드

Creates a new Repository instance for the given path
protected createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface
$path string The path
리턴 TQ\Vcs\Repository\RepositoryInterface

프로퍼티 상세

$git 보호되어 있는 프로퍼티

The Git binary
protected Binary,TQ\Git\Cli $git
리턴 TQ\Git\Cli\Binary