private function getAuthorListFrom()
    {
        $filePath = $this->getFilePathCollection($this->currentPath);

        $authors = [];
        foreach ((array) $filePath['commits'] as $commit) {
            if ($this->isMergeCommit($commit)
                || isset($authors[\md5($commit['name'])])
            ) {
                continue;
            }

            $authors[\md5($commit['name'])] = $commit;
        }

        if (isset($filePath['pathHistory'])) {
            foreach ((array) $filePath['pathHistory'] as $pathHistory) {
                foreach ((array) $pathHistory['commits'] as $commitHistory) {
                    if ($this->isMergeCommit($commitHistory)
                        || isset($authors[\md5($commitHistory['name'])])
                    ) {
                        continue;
                    }

                    $authors[\md5($commitHistory['name'])] = $commitHistory;
                }
            }
        }

        return $authors;
    }
private function getAuthorListFrom()
    {
        $filePath = $this->getFilePathCollection($this->currentPath);

        $authors = [];
        foreach ((array) $filePath['commits'] as $commit) {
            if ($this->isMergeCommit($commit)
                || isset($authors[\md5($commit['name'])])
            ) {
                continue;
            }

            $authors[\md5($commit['name'])] = $commit;
        }

        if (isset($filePath['pathHistory'])) {
            foreach ((array) $filePath['pathHistory'] as $pathHistory) {
                foreach ((array) $pathHistory['commits'] as $commitHistory) {
                    if ($this->isMergeCommit($commitHistory)
                        || isset($authors[\md5($commitHistory['name'])])
                    ) {
                        continue;
                    }

                    $authors[\md5($commitHistory['name'])] = $commitHistory;
                }
            }
        }

        return $authors;
    }
private function getAuthorListFrom ( ) { $ filePath = $ this -> getFilePathCollection ( $ this -> currentPath ) ; $ authors = [ ] ; foreach ( ( array ) $ filePath [ 'commits' ] as $ commit ) { if ( $ this -> isMergeCommit ( $ commit ) || isset ( $ authors [ \ md5 ( $ commit [ 'name' ] ) ] ) ) { continue ; } $ authors [ \ md5 ( $ commit [ 'name' ] ) ] = $ commit ; } if ( isset ( $ filePath [ 'pathHistory' ] ) ) { foreach ( ( array ) $ filePath [ 'pathHistory' ] as $ pathHistory ) { foreach ( ( array ) $ pathHistory [ 'commits' ] as $ commitHistory ) { if ( $ this -> isMergeCommit ( $ commitHistory ) || isset ( $ authors [ \ md5 ( $ commitHistory [ 'name' ] ) ] ) ) { continue ; } $ authors [ \ md5 ( $ commitHistory [ 'name' ] ) ] = $ commitHistory ; } } } return $ authors ; }
Retrieve the author list from the given path via calling git.

@return array
Retrieve the author list from the given path via calling git .