PHP Class eZ\Bundle\EzPublishCoreBundle\Matcher\ContentMatcherFactory

Deprecation: Deprecated since 6.0, will be removed in 6.1. Use the ServiceAwareMatcherFactory instead.
Inheritance: extends eZ\Publish\Core\MVC\Symfony\Matcher\ContentMatcherFactory, implements eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware, implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, eZ\Publish\API\Repository\Repository $repository )
setSiteAccess ( SiteAccess $siteAccess = null ) Changes internal configuration to use the one for passed SiteAccess.

Protected Methods

Method Description
getMatcher ( string $matcherIdentifier ) : eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MatcherInterface

Method Details

__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

getMatcher() protected method

protected getMatcher ( string $matcherIdentifier ) : eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MatcherInterface
$matcherIdentifier string
return eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MatcherInterface

setSiteAccess() public method

Changes internal configuration to use the one for passed SiteAccess.
public setSiteAccess ( SiteAccess $siteAccess = null )
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess