original_string: protected function resolveArgumentsParameters(array $arguments)
      {
          foreach ($arguments as $argument => &$value) {
              if (is_string($value) === false || preg_match('/%[\S_\-]+%/', $value, $matches) === false) {
                  continue;
              }
  
              $name = $matches[0];
  
              if (array_key_exists($name, $this->parameters) === false) {
                  continue;
              }
  
              if (is_string($this->parameters[$name])) {
                  $value = str_replace($name, $this->parameters[$name], (string) $value);
  
                  continue;
              }
  
              $value = $this->parameters[$name];
          }
  
          return $arguments;
      }
code: protected function resolveArgumentsParameters(array $arguments)
      {
          foreach ($arguments as $argument => &$value) {
              if (is_string($value) === false || preg_match('/%[\S_\-]+%/', $value, $matches) === false) {
                  continue;
              }
  
              $name = $matches[0];
  
              if (array_key_exists($name, $this->parameters) === false) {
                  continue;
              }
  
              if (is_string($this->parameters[$name])) {
                  $value = str_replace($name, $this->parameters[$name], (string) $value);
  
                  continue;
              }
  
              $value = $this->parameters[$name];
          }
  
          return $arguments;
      }
code_tokens: protected function resolveArgumentsParameters ( array $ arguments ) { foreach ( $ arguments as $ argument => & $ value ) { if ( is_string ( $ value ) === false || preg_match ( '/%[\S_\-]+%/' , $ value , $ matches ) === false ) { continue ; } $ name = $ matches [ 0 ] ; if ( array_key_exists ( $ name , $ this -> parameters ) === false ) { continue ; } if ( is_string ( $ this -> parameters [ $ name ] ) ) { $ value = str_replace ( $ name , $ this -> parameters [ $ name ] , ( string ) $ value ) ; continue ; } $ value = $ this -> parameters [ $ name ] ; } return $ arguments ; }
docstring: Resolve parameters in arguments.
  
  @param array $arguments
  
  @return array
docstring_tokens: Resolve parameters in arguments .