public function __construct($config = [])
{
$defaults = ['scope' => null, 'type' => 'passed', 'not' => false, 'description' => null, 'matcher' => null, 'matcherName' => null, 'data' => [], 'backtrace' => [], 'exception' => null];
$config += $defaults;
$this->_scope = $config['scope'];
$this->_type = $config['type'];
$this->_not = $config['not'];
$this->_description = $config['description'];
$this->_matcher = $config['matcher'];
$this->_matcherName = $config['matcherName'];
$this->_data = $config['data'];
$this->exception($config['exception']);
if ($config['backtrace']) {
$this->backtrace($config['backtrace']);
} elseif ($this->scope()) {
$this->backtrace($this->scope()->backtrace());
}
}