public function getCommits($nbCommits = 10)
    {
        $output = $this->git(sprintf('log -n %d --date=%s --format=format:%s', $nbCommits, $this->dateFormat, $this->logFormat));
        return $this->parseLogsIntoArray($output);
    }
public function getCommits($nbCommits = 10)
    {
        $output = $this->git(sprintf('log -n %d --date=%s --format=format:%s', $nbCommits, $this->dateFormat, $this->logFormat));
        return $this->parseLogsIntoArray($output);
    }
public function getCommits ( $ nbCommits = 10 ) { $ output = $ this -> git ( sprintf ( 'log -n %d --date=%s --format=format:%s' , $ nbCommits , $ this -> dateFormat , $ this -> logFormat ) ) ; return $ this -> parseLogsIntoArray ( $ output ) ; }
Return the result of `git log` formatted in a PHP array

@return array list of commits and their properties
Return the result of git log formatted in a PHP array