public __construct ( eZ\Publish\API\Repository\Repository $repository, $relativeNamespace = null, array $matchConfig = [] ) | ||
$repository | eZ\Publish\API\Repository\Repository | |
$matchConfig | array |
public function __construct(Repository $repository, $relativeNamespace = null, array $matchConfig = [])
{
$this->repository = $repository;
$this->matcherRelativeNamespace = $relativeNamespace;
$this->matchConfig = $matchConfig;
}
/** * Constructor. * * @param \Netgen\TagsBundle\API\Repository\TagsService $tagsService * @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper * @param \eZ\Publish\API\Repository\Repository $repository */ public function __construct(TagsService $tagsService, TranslationHelper $translationHelper, Repository $repository) { $this->tagsService = $tagsService; $this->translationHelper = $translationHelper; parent::__construct($repository, 'Netgen\\TagsBundle\\Matcher\\Tag'); }