Property | 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 |
Method | 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 | ||
return | array |
public getFullPath ( ) : string | ||
return | string |
public getLocalPath ( ) : string | ||
return | string |
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface | ||
return | TQ\Vcs\Repository\RepositoryInterface |
public getRepositoryPath ( ) : string | ||
return | string |
public hasArgument ( string $argument ) : boolean | ||
$argument | string | The argument name |
return | boolean |
protected string $fullPath | ||
return | string |
protected RepositoryInterface,TQ\Vcs\Repository $repository | ||
return | TQ\Vcs\Repository\RepositoryInterface |