public function __construct(Repository $repository, array $matchConfig = [])
{
@trigger_error("BlockMatcherFactory is deprecated, and will be removed in ezpublish-kernel 6.1.\n" . 'Use the ServiceAwareMatcherFactory with the relative namespace as a constructor argument instead.', E_USER_DEPRECATED);
$this->repository = $repository;
$this->matchConfig = $matchConfig;
$this->matchers = array();
$this->alreadyMatched = array();
}