src/VCR/Configuration.php
public function enableRequestMatchers(array $matchers)
    {
        $invalidMatchers = array_diff($matchers, array_keys($this->availableRequestMatchers));
        if ($invalidMatchers) {
            throw new \InvalidArgumentException("Request matchers don't exist: " . join(', ', $invalidMatchers));
        }
        $this->enabledRequestMatchers = $matchers;
        
        return $this;
    }
public function enableRequestMatchers(array $matchers)
    {
        $invalidMatchers = array_diff($matchers, array_keys($this->availableRequestMatchers));
        if ($invalidMatchers) {
            throw new \InvalidArgumentException("Request matchers don't exist: " . join(', ', $invalidMatchers));
        }
        $this->enabledRequestMatchers = $matchers;
        
        return $this;
    }
public function enableRequestMatchers ( array $ matchers ) { $ invalidMatchers = array_diff ( $ matchers , array_keys ( $ this -> availableRequestMatchers ) ) ; if ( $ invalidMatchers ) { throw new \ InvalidArgumentException ( "Request matchers don't exist: " . join ( ', ' , $ invalidMatchers ) ) ; } $ this -> enabledRequestMatchers = $ matchers ; return $ this ; }
Enables specified RequestMatchers by its name.

@param array $matchers List of RequestMatcher names to enable.

@return Configuration

@throws \InvalidArgumentException If a specified request matcher does not exist.
Enables specified RequestMatchers by its name .