Ejemplo n.º 1
0
 public function getCommits($nb)
 {
     $commits = $this->getGitRepo()->getCommits(12);
     foreach ($commits as $key => $commit) {
         $commits[$key]['url'] = $this->entity->getGithubUrl() . '/commit/' . $commit['id'];
     }
     return $commits;
 }