PHP 인터페이스 TQ\Vcs\StreamWrapper\PathInformationInterface

파일 보기 프로젝트 열기: teqneers/php-stream-wrapper-for-git 0 사용 예제들

공개 메소드들

메소드 설명
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