public function __construct($class, CurrencyFormType $currencyFormType) { $this->class = $class; $this->currencyFormType = $currencyFormType; }