Свойство | Type | Description | |
---|---|---|---|
$arguments | array | Additional arguments | |
$fullPath | string | The absolute path to the resource | |
$localPath | string | Lazy instantiated | |
$ref | string | The version ref | |
$repository | TQ\Vcs\Repository\RepositoryInterface | The repository | |
$url | string | The URL |
Méthode | Description | |
---|---|---|
__construct ( TQ\Vcs\Repository\RepositoryInterface $repository, string $url, string $fullPath, string $ref, array $arguments ) | Creates a new path information instance from a given URL | |
getArgument ( string $argument ) : string | null | Returns the given argument from the argument collection | |
getArguments ( ) : array | Returns the additional arguments given | |
getFullPath ( ) : string | Returns the absolute path to the resource | |
getLocalPath ( ) : string | Returns the relative path to the resource based on the repository path | |
getRef ( ) : string | Returns the version ref | |
getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface | Returns the repository instance | |
getRepositoryPath ( ) : string | Returns the absolute repository path | |
getUrl ( ) : string | Returns the URL | |
hasArgument ( string $argument ) : boolean | Checks if the given argument exists |
public __construct ( TQ\Vcs\Repository\RepositoryInterface $repository, string $url, string $fullPath, string $ref, array $arguments ) | ||
$repository | TQ\Vcs\Repository\RepositoryInterface | The repository instance |
$url | string | The URL |
$fullPath | string | The absolute path to the resource |
$ref | string | The version ref |
$arguments | array | The additional arguments given |
public getArguments ( ) : array | ||
Résultat | array |
public getFullPath ( ) : string | ||
Résultat | string |
public getLocalPath ( ) : string | ||
Résultat | string |
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface | ||
Résultat | TQ\Vcs\Repository\RepositoryInterface |
public getRepositoryPath ( ) : string | ||
Résultat | string |
public hasArgument ( string $argument ) : boolean | ||
$argument | string | The argument name |
Résultat | boolean |
protected string $fullPath | ||
Résultat | string |
protected RepositoryInterface,TQ\Vcs\Repository $repository | ||
Résultat | TQ\Vcs\Repository\RepositoryInterface |