Property | Type | Description | |
---|---|---|---|
$map | The repository registry | ||
$protocol | string | The registered protocol |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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 |
return | The path information representing the stream URL |
abstract protected createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface | ||
$path | string | The path |
return | TQ\Vcs\Repository\RepositoryInterface |
public getRegistry ( ) : |
||
return |
protected getRepository ( array $pathInfo ) : TQ\Vcs\Repository\RepositoryInterface | ||
$pathInfo | array | An array containing information about the path |
return | TQ\Vcs\Repository\RepositoryInterface |
protected RepositoryRegistry,TQ\Vcs\StreamWrapper $map | ||
return |