PHP 클래스 Knp\Bundle\KnpBundlesBundle\Git\RepoManager

파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$dir string Repositories base directory
$filesystem Symfony\Component\Filesystem\Filesystem
$gitExecutable string

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Filesystem\Filesystem $filesystem, $dir, $gitExecutable )
getDir ( ) : string Get dir
getRepo ( Bundle $bundle ) : Repo
hasRepo ( Bundle $repo ) : boolean
setDir ( $dir ) : null Set dir

보호된 메소드들

메소드 설명
cloneRepo ( string $repoUrl, string $targetDir ) : PHPGit_Repository
createGitRepo ( Bundle $bundle ) : PHPGit_Repository
getRepoDir ( Bundle $repo ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Filesystem\Filesystem $filesystem, $dir, $gitExecutable )
$filesystem Symfony\Component\Filesystem\Filesystem

cloneRepo() 보호된 메소드

protected cloneRepo ( string $repoUrl, string $targetDir ) : PHPGit_Repository
$repoUrl string
$targetDir string
리턴 PHPGit_Repository

createGitRepo() 보호된 메소드

protected createGitRepo ( Bundle $bundle ) : PHPGit_Repository
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
리턴 PHPGit_Repository

getDir() 공개 메소드

Get dir
public getDir ( ) : string
리턴 string

getRepo() 공개 메소드

public getRepo ( Bundle $bundle ) : Repo
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
리턴 Repo

getRepoDir() 보호된 메소드

protected getRepoDir ( Bundle $repo ) : string
$repo Knp\Bundle\KnpBundlesBundle\Entity\Bundle
리턴 string

hasRepo() 공개 메소드

public hasRepo ( Bundle $repo ) : boolean
$repo Knp\Bundle\KnpBundlesBundle\Entity\Bundle
리턴 boolean

setDir() 공개 메소드

Set dir
public setDir ( $dir ) : null
리턴 null

프로퍼티 상세

$dir 보호되어 있는 프로퍼티

Repositories base directory
protected string $dir
리턴 string

$filesystem 보호되어 있는 프로퍼티

protected Filesystem,Symfony\Component\Filesystem $filesystem
리턴 Symfony\Component\Filesystem\Filesystem

$gitExecutable 보호되어 있는 프로퍼티

protected string $gitExecutable
리턴 string