public function matchHeaders($attributes)
    {
        $attributes = (array) $attributes;
        foreach ($attributes as $key => $regexp) {
            $this->matchHeader($key, $regexp);
        }
    }
public function matchHeaders($attributes)
    {
        $attributes = (array) $attributes;
        foreach ($attributes as $key => $regexp) {
            $this->matchHeader($key, $regexp);
        }
    }
public function matchHeaders ( $ attributes ) { $ attributes = ( array ) $ attributes ; foreach ( $ attributes as $ key => $ regexp ) { $ this -> matchHeader ( $ key , $ regexp ) ; } }
Adds checks for header attributes.

@param array    the header attributes to check array(attribute1 => regexp1, ettribute2 => regexp2, ...)
Adds checks for header attributes .