/** * Constructor * * @param string $backendType the backend type * @param string $formType the form type * @param ConstraintGuesserInterface $constraintGuesser the form type * @param MeasureManager $manager the measure manager * @param MetricFactory $metricFactory the metric factory * @param TranslatorInterface $translator the translator for units */ public function __construct($backendType, $formType, ConstraintGuesserInterface $constraintGuesser, MeasureManager $manager, MetricFactory $metricFactory, TranslatorInterface $translator) { parent::__construct($backendType, $formType, $constraintGuesser); $this->manager = $manager; $this->metricFactory = $metricFactory; $this->translator = $translator; }
/** * Constructor * * @param string $backendType the backend type * @param string $formType the form type * @param ConstraintGuesserInterface $constraintGuesser the form type * @param ConfigurationRegistryInterface $registry */ public function __construct($backendType, $formType, ConstraintGuesserInterface $constraintGuesser, ConfigurationRegistryInterface $registry) { parent::__construct($backendType, $formType, $constraintGuesser); $this->referenceDataRegistry = $registry; }
/** * Constructor * * @param string $backendType the backend type * @param string $formType the form type * @param ConstraintGuesserInterface $constraintGuesser the constraint guesser * @param CurrencyManager $manager the currency manager */ public function __construct($backendType, $formType, ConstraintGuesserInterface $constraintGuesser, CurrencyManager $manager) { parent::__construct($backendType, $formType, $constraintGuesser); $this->currencyManager = $manager; }