/** * Construct from full text search configuration * * @param \eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler * @param \eZ\Publish\Core\Persistence\TransformationProcessor $processor * @param array $configuration */ public function __construct(DatabaseHandler $dbHandler, TransformationProcessor $processor, array $configuration = array()) { parent::__construct($dbHandler); $this->configuration = $configuration + $this->configuration; $this->processor = $processor; }
/** * Construct from language mask generator * * @param \eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler * @param \eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator $maskGenerator */ public function __construct(DatabaseHandler $dbHandler, MaskGenerator $maskGenerator) { $this->maskGenerator = $maskGenerator; parent::__construct($dbHandler); }