/** * @param Destination $destination * @param array $params */ protected function processParams(Destination $destination, array $params) { $target = parent::processParams($destination, $params); foreach ($params as $name => $value) { if (!$this->testParam($name, $value)) { $destination->setMatch(false); break; } } return $target; }