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

  • CoverallsApi
  • Jobs
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Jobs

Jobs API.

Contrib\Bundle\CoverallsV1Bundle\Api\CoverallsApi
Extended by Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
Namespace: Contrib\Bundle\CoverallsV1Bundle\Api
Author: Kitamura Satoshi <with.no.parachute@gmail.com>
Located at Contrib/Bundle/CoverallsV1Bundle/Api/Jobs.php
Methods summary
public Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
# collectCloverXml( )

Collect clover XML into json_file.

Collect clover XML into json_file.

Returns

Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
public Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
# collectGitInfo( )

Collect git repository info into json_file.

Collect git repository info into json_file.

Returns

Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
public Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
# collectEnvVars( array $env )

Collect environment variables.

Collect environment variables.

Parameters

$env
array
$env $_SERVER environment.

Returns

Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
public Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
# dumpJsonFile( )

Dump uploading json file.

Dump uploading json file.

Returns

Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
public Guzzle\Http\Message\Response|null
# send( )

Send json_file to jobs API.

Send json_file to jobs API.

Returns

Guzzle\Http\Message\Response|null

Throws

RuntimeException
protected Guzzle\Http\Message\Response
# upload( string $url, string $path, string $filename )

Upload a file.

Upload a file.

Parameters

$url
string
$url URL to upload.
$path
string
$path File path.
$filename
string
$filename Filename.

Returns

Guzzle\Http\Message\Response
Response.

Throws

RuntimeException
public Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
# setJsonFile( Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile $jsonFile )

Set JsonFile.

Set JsonFile.

Parameters

$jsonFile
Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
$jsonFile json_file content.

Returns

Contrib\Bundle\CoverallsV1Bundle\Api\Jobs
public Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
# getJsonFile( )

Return JsonFile.

Return JsonFile.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
Methods inherited from Contrib\Bundle\CoverallsV1Bundle\Api\CoverallsApi
__construct(), getConfiguration(), getHttpClient(), setHttpClient()
Constants summary
string URL 'https://coveralls.io/api/v1/jobs'
#

URL for jobs API.

URL for jobs API.

string FILENAME 'json_file'
#

Filename as a POST parameter.

Filename as a POST parameter.

Properties summary
protected Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile $jsonFile
#

JsonFile.

JsonFile.

Properties inherited from Contrib\Bundle\CoverallsV1Bundle\Api\CoverallsApi
$client, $config
php-coveralls API documentation generated by ApiGen 2.8.0