프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$map | The repository registry | ||
$protocol | string | The registered protocol |
메소드 | 설명 | |
---|---|---|
__construct ( string $protocol, |
Creates a path factory | |
createPathInformation ( string $streamUrl ) : |
Returns the path information for a given stream URL | |
getRegistry ( ) : |
Returns the repository registry | |
parsePath ( string $streamUrl ) : array | Returns path information for a given stream path |
메소드 | 설명 | |
---|---|---|
createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface | Creates a new Repository instance for the given path | |
getRepository ( array $pathInfo ) : TQ\Vcs\Repository\RepositoryInterface | Returns the repository for the given path information |
public __construct ( string $protocol, |
||
$protocol | string | The protocol (such as "vcs") |
$map | The repository registry |
public createPathInformation ( string $streamUrl ) : |
||
$streamUrl | string | The URL given to the stream function |
리턴 | The path information representing the stream URL |
abstract protected createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface | ||
$path | string | The path |
리턴 | TQ\Vcs\Repository\RepositoryInterface |
public getRegistry ( ) : |
||
리턴 |
protected getRepository ( array $pathInfo ) : TQ\Vcs\Repository\RepositoryInterface | ||
$pathInfo | array | An array containing information about the path |
리턴 | TQ\Vcs\Repository\RepositoryInterface |
protected RepositoryRegistry,TQ\Vcs\StreamWrapper $map | ||
리턴 |