original_string: protected function _persistParams(array $url, array $params)
      {
          foreach ($this->options['persist'] as $persistKey) {
              if (array_key_exists($persistKey, $params) && !isset($url[$persistKey])) {
                  $url[$persistKey] = $params[$persistKey];
              }
          }
  
          return $url;
      }
code: protected function _persistParams(array $url, array $params)
      {
          foreach ($this->options['persist'] as $persistKey) {
              if (array_key_exists($persistKey, $params) && !isset($url[$persistKey])) {
                  $url[$persistKey] = $params[$persistKey];
              }
          }
  
          return $url;
      }
code_tokens: protected function _persistParams ( array $ url , array $ params ) { foreach ( $ this -> options [ 'persist' ] as $ persistKey ) { if ( array_key_exists ( $ persistKey , $ params ) && ! isset ( $ url [ $ persistKey ] ) ) { $ url [ $ persistKey ] = $ params [ $ persistKey ] ; } } return $ url ; }
docstring: Apply persistent parameters to a URL array. Persistent parameters are a
  special key used during route creation to force route parameters to
  persist when omitted from a URL array.
  
  @param array $url The array to apply persistent parameters to.
  @param array $params An array of persistent values to replace persistent ones.
  @return array An array with persistent parameters applied.
docstring_tokens: Apply persistent parameters to a URL array . Persistent parameters are a special key used during route creation to force route parameters to persist when omitted from a URL array .