PHP Class Airbrake\Connection

Author: Drew Butler ([email protected])
Inheritance: implements Airbrake\Connection\ConnectionInterface
Exibir arquivo Open project: dbtlr/php-airbrake Class Usage Examples

Protected Properties

Property Type Description
$configuration
$headers

Public Methods

Method Description
__construct ( Configuration $configuration ) Build the object with the airbrake Configuration.
addHeader ( string $header ) Add a header to the connection.
send ( airbrake\Notice $notice ) : string

Method Details

__construct() public method

Build the object with the airbrake Configuration.
public __construct ( Configuration $configuration )
$configuration Configuration

addHeader() public method

Add a header to the connection.
public addHeader ( string $header )
$header string

send() public method

public send ( airbrake\Notice $notice ) : string
$notice airbrake\Notice
return string

Property Details

$configuration protected_oe property

protected $configuration

$headers protected_oe property

protected $headers