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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$entity Knp\Bundle\KnpBundlesBundle\Entity\Bundle Repo entity
$gitRepo PHPGit_Repository Git repository wrapper

공개 메소드들

메소드 설명
__construct ( Bundle $repoEntity, PHPGit_Repository $gitRepo )
getBundleEntity ( ) : Bundle Get entity
getCommits ( $nb = 12 )
getDir ( ) : string Returns the git repository directory
getFileContent ( $file )
getGitRepo ( ) : PHPGit_Repository Get gitRepo
hasFile ( $file )
setBundleEntity ( $entity ) : null Set entity
setGitRepo ( $gitRepo ) : null Set gitRepo
update ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Bundle $repoEntity, PHPGit_Repository $gitRepo )
$repoEntity Knp\Bundle\KnpBundlesBundle\Entity\Bundle
$gitRepo PHPGit_Repository

getBundleEntity() 공개 메소드

Get entity
public getBundleEntity ( ) : Bundle
리턴 Knp\Bundle\KnpBundlesBundle\Entity\Bundle

getCommits() 공개 메소드

public getCommits ( $nb = 12 )

getDir() 공개 메소드

Returns the git repository directory
public getDir ( ) : string
리턴 string

getFileContent() 공개 메소드

public getFileContent ( $file )

getGitRepo() 공개 메소드

Get gitRepo
public getGitRepo ( ) : PHPGit_Repository
리턴 PHPGit_Repository

hasFile() 공개 메소드

public hasFile ( $file )

setBundleEntity() 공개 메소드

Set entity
public setBundleEntity ( $entity ) : null
리턴 null

setGitRepo() 공개 메소드

Set gitRepo
public setGitRepo ( $gitRepo ) : null
리턴 null

update() 공개 메소드

public update ( )

프로퍼티 상세

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

Repo entity
protected Bundle,Knp\Bundle\KnpBundlesBundle\Entity $entity
리턴 Knp\Bundle\KnpBundlesBundle\Entity\Bundle

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

Git repository wrapper
protected PHPGit_Repository $gitRepo
리턴 PHPGit_Repository