PHP Interface TQ\Vcs\StreamWrapper\PathInformationInterface

Afficher le fichier Open project: teqneers/php-stream-wrapper-for-git Interface Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

getArgument() public méthode

Returns the given argument from the argument collection
public getArgument ( string $argument ) : string | null
$argument string The argument name
Résultat string | null The argument value or NULL if the argument does not exist

getArguments() public méthode

Returns the additional arguments given
public getArguments ( ) : array
Résultat array

getFullPath() public méthode

Returns the absolute path to the resource
public getFullPath ( ) : string
Résultat string

getLocalPath() public méthode

Returns the relative path to the resource based on the repository path
public getLocalPath ( ) : string
Résultat string

getRef() public méthode

Returns the version ref
public getRef ( ) : string
Résultat string

getRepository() public méthode

Returns the repository instance
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface
Résultat TQ\Vcs\Repository\RepositoryInterface

getRepositoryPath() public méthode

Returns the absolute repository path
public getRepositoryPath ( ) : string
Résultat string

getUrl() public méthode

Returns the URL
public getUrl ( ) : string
Résultat string

hasArgument() public méthode

Checks if the given argument exists
public hasArgument ( string $argument ) : boolean
$argument string The argument name
Résultat boolean