PHP Интерфейс TQ\Vcs\StreamWrapper\PathInformationInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

getArgument() публичный Метод

Returns the given argument from the argument collection
public getArgument ( string $argument ) : string | null
$argument string The argument name
Результат string | null The argument value or NULL if the argument does not exist

getArguments() публичный Метод

Returns the additional arguments given
public getArguments ( ) : array
Результат array

getFullPath() публичный Метод

Returns the absolute path to the resource
public getFullPath ( ) : string
Результат string

getLocalPath() публичный Метод

Returns the relative path to the resource based on the repository path
public getLocalPath ( ) : string
Результат string

getRef() публичный Метод

Returns the version ref
public getRef ( ) : string
Результат string

getRepository() публичный Метод

Returns the repository instance
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface
Результат TQ\Vcs\Repository\RepositoryInterface

getRepositoryPath() публичный Метод

Returns the absolute repository path
public getRepositoryPath ( ) : string
Результат string

getUrl() публичный Метод

Returns the URL
public getUrl ( ) : string
Результат string

hasArgument() публичный Метод

Checks if the given argument exists
public hasArgument ( string $argument ) : boolean
$argument string The argument name
Результат boolean