idea-php-symfony2-plugin
idea-php-symfony2-plugin copied to clipboard
[Form] Autocompletion using named parameters
Description
In a controller, when a form is created with createForm
method, the autocompletion of the form options is triggered when using the third parameter of this method
$form = $this->createForm(FooBarType::class, null, ['method' => 'GET']); // "method" option was suggested with autocompletion
But when using named parameters, the autocompletion is not triggered.
$form = $this->createForm(FooBarType::class, options: ['method' => 'GET']); // Autocompletion does not work