프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$entity | Repo entity | ||
$gitRepo | PHPGit_Repository | Git repository wrapper |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
getBundleEntity ( ) : |
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 ( ) |
public __construct ( |
||
$repoEntity | ||
$gitRepo | PHPGit_Repository |
public getBundleEntity ( ) : |
||
리턴 |
protected Bundle,Knp\Bundle\KnpBundlesBundle\Entity $entity | ||
리턴 |