Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CiEnvVarsCollector
  • CloverXmlCoverageCollector
  • GitInfoCollector
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class GitInfoCollector

Git repository info collector.

Namespace: Contrib\Bundle\CoverallsV1Bundle\Collector
Author: Kitamura Satoshi <with.no.parachute@gmail.com>
Located at Contrib/Bundle/CoverallsV1Bundle/Collector/GitInfoCollector.php
Methods summary
public
# __construct( Contrib\Component\System\Git\GitCommand $command )

Constructor.

Constructor.

Parameters

$command
Contrib\Component\System\Git\GitCommand
$gitCommand Git command
public Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Git
# collect( )

Collect git repository info.

Collect git repository info.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Git
protected string
# collectBranch( )

Collect branch name.

Collect branch name.

Returns

string

Throws

RuntimeException
protected Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Commit
# collectCommit( )

Collect commit info.

Collect commit info.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Commit

Throws

RuntimeException
protected Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Remote[]
# collectRemotes( )

Collect remotes info.

Collect remotes info.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Remote[]

Throws

RuntimeException
public Contrib\Component\System\Git\GitCommand
# getCommand( )

Return git command.

Return git command.

Returns

Contrib\Component\System\Git\GitCommand
Properties summary
protected Contrib\Component\System\Git\GitCommand $command
#

Git command.

Git command.

php-coveralls API documentation generated by ApiGen 2.8.0