src/ArrayContainsComparator.php
public function getMatcherFunction($name) {
        if (!isset($this->functions[$name])) {
            throw new InvalidArgumentException(sprintf(
                'No matcher function registered for "%s".',
                $name
            ));
        }

        return $this->functions[$name];
    }
public function getMatcherFunction($name) {
        if (!isset($this->functions[$name])) {
            throw new InvalidArgumentException(sprintf(
                'No matcher function registered for "%s".',
                $name
            ));
        }

        return $this->functions[$name];
    }
public function getMatcherFunction ( $ name ) { if ( ! isset ( $ this -> functions [ $ name ] ) ) { throw new InvalidArgumentException ( sprintf ( 'No matcher function registered for "%s".' , $ name ) ) ; } return $ this -> functions [ $ name ] ; }
Get a matcher function by name

@param string $name The name of the matcher function
@return mixed
Get a matcher function by name