Example #1
0
 /**
  * Merges the current violations with the violations stored in
  * another context.
  *
  * @param Context $context
  */
 public function mergeViolations(Context $context)
 {
     $this->violations = array_merge($this->violations, $context->getViolations());
 }