public function addResult(ComparisonResult $result)
 {
     if (!$result->getMatched()) {
         $this->matched = false;
     }
     parent::addResult($result);
 }
Esempio n. 2
0
 public function addResult(ComparisonResult $result)
 {
     $this->results[] = $result;
     if (!$result->getMatched()) {
         $this->matched = false;
     }
 }
 public function __construct($depth, $key, ComparisonResult $result)
 {
     parent::__construct($result->getMatched(), $depth, null, null);
     $this->key = $key;
     $this->result = $result;
 }
 public function __construct($matched, $depth)
 {
     parent::__construct($matched, $depth, null, null);
     // TODO: Change the autogenerated stub
 }
 public function __construct($depth, $right, $key)
 {
     parent::__construct(false, $depth, null, $right);
     // TODO: Change the autogenerated stub
     $this->key = $key;
 }
 public function __construct($depth, $left, $right)
 {
     parent::__construct(false, $depth, get_class($left), get_class($right));
     // TODO: Change the autogenerated stub
 }
 public function __construct($matched, $depth, $left, $right, $position)
 {
     parent::__construct($matched, $depth, $left, $right);
     $this->position = $position;
 }