/** * Defines a custom matcher * * @param string $matcherName * @param \Closure $matcherDefinition */ function define($matcherName, $matcherDefinition) { \PHPSpec\Matcher\MatcherRepository::add($matcherName, $matcherDefinition); }
/** * Defines a custom matcher * * @param string $matcherName * @param \Closure $matcherDefinition */ function define($matcherName, $matcherDefinition) { \PHPSpec\Matcher\MatcherRepository::add($matcherName, $matcherDefinition); }