Airbrake\Configuration::getUnfilteredParameters PHP Method

getUnfilteredParameters() public method

Get the combined server parameters without applying the registered filters
public getUnfilteredParameters ( ) : array
return array
    public function getUnfilteredParameters()
    {
        return array_merge($this->get('postData'), $this->get('getData'));
    }

Usage Example

Exemplo n.º 1
0
 public function testFiltersNotAppliedOnUnfilteredParameters()
 {
     $initial = array('foo' => 1, 'bar' => 2);
     $expected = array('foo' => 1, 'bar' => 2);
     $config = new Configuration('test', array('postData' => $initial));
     $config->addFilter('bar');
     $this->assertEquals($expected, $config->getUnfilteredParameters());
 }