public function __construct(RatesConfigurationRegistryInterface $registry, TranslatorInterface $translator, array $defaults) { parent::__construct(null); $this->registry = $registry; $this->translator = $translator; $this->defaults = array_merge(array('choice_translation_domain' => 'roc_exchange_rate', 'label_format' => '{{currency-code}}, {{rate-type}} ({{source}})', 'choices_as_values' => true), $defaults); }
public function __construct(EnvironmentService $service) { parent::__construct(); $this->service = $service; }
public function __construct(ContentTypeService $service) { parent::__construct(); $this->service = $service; }