/** * Returns true if the parameters matches this route, false otherwise. * * @param mixed $params The parameters * @param array $context The context * * @return Boolean true if the parameters matches this route, false otherwise. */ public function matchesParameters($params, $context = array()) { return parent::matchesParameters('object' == $this->options['type'] ? $this->convertObjectToArray($params) : $params); }