Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array |
public getFullPath ( ) : string | ||
Результат | string |
public getLocalPath ( ) : string | ||
Результат | string |
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface | ||
Результат | TQ\Vcs\Repository\RepositoryInterface |
public getRepositoryPath ( ) : string | ||
Результат | string |
public hasArgument ( string $argument ) : boolean | ||
$argument | string | The argument name |
Результат | boolean |
protected string $fullPath | ||
Результат | string |
protected RepositoryInterface,TQ\Vcs\Repository $repository | ||
Результат | TQ\Vcs\Repository\RepositoryInterface |