__construct() public method

public __construct ( eZ\Publish\API\Repository\Repository $repository, $relativeNamespace = null, array $matchConfig = [] )
$repository eZ\Publish\API\Repository\Repository
$matchConfig array
Example #1
0
 /**
  * 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');
 }