eZ\Bundle\EzPublishCoreBundle\Matcher\ContentMatcherFactory::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, eZ\Publish\API\Repository\Repository $repository )
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface
$repository eZ\Publish\API\Repository\Repository
    public function __construct(ConfigResolverInterface $configResolver, Repository $repository)
    {
        @trigger_error("ContentMatcherFactory is deprecated, and will be removed in ezpublish-kernel 6.1.\n" . 'Use the ServiceAwareMatcherFactory with the relative namespace as a constructor argument.', E_USER_DEPRECATED);
        $this->configResolver = $configResolver;
        parent::__construct($repository, $this->configResolver->getParameter('content_view'));
    }