eZ\Publish\Core\MVC\Symfony\Matcher\AbstractMatcherFactory::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\API\Repository\Repository $repository, array $matchConfig = [] )
$repository eZ\Publish\API\Repository\Repository
$matchConfig array
    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();
    }