We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e523833 commit 292e1ebCopy full SHA for 292e1eb
form/dynamic_form_modification.rst
@@ -237,11 +237,16 @@ The service can be injected into the form via its constructor::
237
use Symfony\Component\Security\Core\Security;
238
// ...
239
240
- private $security;
241
-
242
- public function __construct(Security $security)
+ class FriendMessageFormType extends AbstractType
243
{
244
- $this->security = $security;
+ private $security;
+
+ public function __construct(Security $security)
245
+ {
246
+ $this->security = $security;
247
+ }
248
249
+ // ....
250
}
251
252
Customizing the Form Type
0 commit comments