src/util/HeaderNormalizer.php
/**
     * Add custom patterns and replacements to end of the defaults
     * @param array $pattern
     * @param array $replacements
     * @return $this
     */
Add custom patterns and replacements to end of the defaults
@param array $pattern
@param array $replacements
@return $this
Add custom patterns and replacements to end of the defaults @param array $pattern @param array $replacements @return $this
public function pushPatternReplacement(array $pattern, array $replacements): self
    {
        if (count($pattern) !== count($replacements)) {
            throw new InvalidArgumentException('Patterns and Replacements must have the same count of values.');
        }
        $this->patterns = array_merge($this->patterns, $pattern);
        $this->replacements = array_merge($this->replacements, $replacements);
        return $this;
    }
public function pushPatternReplacement ( array $ pattern , array $ replacements ) : self { if ( count ( $ pattern ) !== count ( $ replacements ) ) { throw new InvalidArgumentException ( 'Patterns and Replacements must have the same count of values.' ) ; } $ this -> patterns = array_merge ( $ this -> patterns , $ pattern ) ; $ this -> replacements = array_merge ( $ this -> replacements , $ replacements ) ; return $ this ; }
Add custom patterns and replacements to end of the defaults
 @param array $pattern
 @param array $replacements
 @return $this
Add custom patterns and replacements to end of the defaults @param array $pattern @param array $replacements @return $this