PHP 클래스 Airbrake\Client

저자: Drew Butler ([email protected])
파일 보기 프로젝트 열기: dbtlr/php-airbrake 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configuration Configuration | null
$connection Connection | null
$notice null

공개 메소드들

메소드 설명
__construct ( Configuration $configuration ) Build the Client with the Airbrake Configuration.
getConfiguration ( ) : Configuration
notify ( airbrake\Notice $notice ) : string | boolean Notify about the notice.
notifyOnError ( string $message, array $backtrace = null, null $extraParams = null ) : string Notify on an error message.
notifyOnException ( Exception $e, null $extraParams = null ) : string Notify on an exception
setConnection ( Airbrake\Connection\ConnectionInterface $connection ) : self Override the default Connection

보호된 메소드들

메소드 설명
cleanBacktrace ( array $backtrace ) : array Clean the backtrace of unneeded junk.
cleanFilePath ( $filePath )

메소드 상세

__construct() 공개 메소드

Build the Client with the Airbrake Configuration.
public __construct ( Configuration $configuration )
$configuration Configuration

cleanBacktrace() 보호된 메소드

Clean the backtrace of unneeded junk.
protected cleanBacktrace ( array $backtrace ) : array
$backtrace array
리턴 array

cleanFilePath() 보호된 메소드

protected cleanFilePath ( $filePath )

getConfiguration() 공개 메소드

public getConfiguration ( ) : Configuration
리턴 Configuration

notify() 공개 메소드

Notify about the notice.
public notify ( airbrake\Notice $notice ) : string | boolean
$notice airbrake\Notice
리턴 string | boolean

notifyOnError() 공개 메소드

Notify on an error message.
public notifyOnError ( string $message, array $backtrace = null, null $extraParams = null ) : string
$message string
$backtrace array
$extraParams null
리턴 string

notifyOnException() 공개 메소드

Notify on an exception
public notifyOnException ( Exception $e, null $extraParams = null ) : string
$e Exception
$extraParams null
리턴 string

setConnection() 공개 메소드

Override the default Connection
public setConnection ( Airbrake\Connection\ConnectionInterface $connection ) : self
$connection Airbrake\Connection\ConnectionInterface
리턴 self

프로퍼티 상세

$configuration 보호되어 있는 프로퍼티

protected Configuration,airbrake|null $configuration
리턴 Configuration | null

$connection 보호되어 있는 프로퍼티

protected Connection,airbrake|null $connection
리턴 Connection | null

$notice 보호되어 있는 프로퍼티

protected null $notice
리턴 null