PHP 클래스 Airbrake\Configuration

Loads via the inherited Record class methods.
저자: Drew Butler ([email protected])
상속: extends airbrake\Record
파일 보기 프로젝트 열기: dbtlr/php-airbrake 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$dataStore array
$parameterFilters array

공개 메소드들

메소드 설명
__construct ( string $apiKey, array | stdClass $data = [] ) Load the given data array to the record.
addFilter ( string | Airbrake\Filter\FilterInterface $keyName ) : self Adds an entry to a black list of GET/POST parameter key names which should not be sent to the Airbrake server. This should be used to prevent sensitive information, such as passwords or credit card details from leaving your application server via error logging.
addFilters ( array $keyNames ) : Configuration Adds an array of entries to a black list of GET/POST parameter key names which should not be sent to the Airbrake server. This should be used to prevent sensitive information, such as passwords or credit card details from leaving your application server via error logging.
clearFilters ( ) : Configuration Clears the GET/POST request key name black list.
getParameters ( ) : array Get the combined server parameters. Note that these parameters will be filtered according to a black list of key names to ignore. If you wish to get the unfiltered results you should use the getUnfilteredParameters method instead.
getUnfilteredParameters ( ) : array Get the combined server parameters without applying the registered filters
verify ( ) Verify that the configuration is complete.

보호된 메소드들

메소드 설명
initialize ( ) Initialize the data source.

메소드 상세

__construct() 공개 메소드

Load the given data array to the record.
public __construct ( string $apiKey, array | stdClass $data = [] )
$apiKey string
$data array | stdClass

addFilter() 공개 메소드

Nested keys are treated like html form names - e.g. the key name my_form[id] would stop the value inside $_POST['my_form']['id'] from being sent.
public addFilter ( string | Airbrake\Filter\FilterInterface $keyName ) : self
$keyName string | Airbrake\Filter\FilterInterface
리턴 self

addFilters() 공개 메소드

Nested keys are treated like html form names - e.g. the key name my_form[id] would stop the value inside $_POST['my_form']['id'] from being sent.
public addFilters ( array $keyNames ) : Configuration
$keyNames array
리턴 Configuration

clearFilters() 공개 메소드

Clears the GET/POST request key name black list.
public clearFilters ( ) : Configuration
리턴 Configuration

getParameters() 공개 메소드

Get the combined server parameters. Note that these parameters will be filtered according to a black list of key names to ignore. If you wish to get the unfiltered results you should use the getUnfilteredParameters method instead.
public getParameters ( ) : array
리턴 array

getUnfilteredParameters() 공개 메소드

Get the combined server parameters without applying the registered filters
public getUnfilteredParameters ( ) : array
리턴 array

initialize() 보호된 메소드

Initialize the data source.
protected initialize ( )

verify() 공개 메소드

Verify that the configuration is complete.
public verify ( )

프로퍼티 상세

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

protected array $dataStore
리턴 array

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

protected array $parameterFilters
리턴 array