/** * @param HandlerInterface[]|$requestHandlers * @param ResourceFormBuilder $resourceFormBuilder */ function __construct($requestHandlers, ResourceFormBuilder $resourceFormBuilder) { parent::__construct($requestHandlers); $this->resourceFormBuilder = $resourceFormBuilder; }
/** * @param HandlerInterface[]|array $requestHandlers * @param \Symfony\Component\Form\FormBuilderInterface $formBuilder */ public function __construct(array $requestHandlers, FormBuilderInterface $formBuilder) { parent::__construct($requestHandlers); $this->form = $formBuilder->getForm(); }