public function __construct(FormFactoryInterface $factory, $disabled = false) { $this->factory = $factory; $this->disabled = $disabled; }