Property | Type | Description | |
---|---|---|---|
$entity | Repo entity | ||
$gitRepo | PHPGit_Repository | Git repository wrapper |
Method | Description | |
---|---|---|
__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 ( ) : |
||
return |
public getGitRepo ( ) : PHPGit_Repository | ||
return | PHPGit_Repository |
protected Bundle,Knp\Bundle\KnpBundlesBundle\Entity $entity | ||
return |