function CallFromArray($argumentsArray) { if ($this->rules == null) { return $this->delegate->CallFromArray($argumentsArray); } else { foreach ($this->rules as $arg => $value) { $this->array_insert_before($argumentsArray, Argument::GetArgumentNumber($arg), $value); } return $this->delegate->CallFromArray($argumentsArray); } }