Sébastien Grognuz

1

votes
0

answer
505

views

symfony4 swiftmailer non-existent class or interface: “Swift_Mailer”

after having installed swiftmailer with composer on symfony4 composer require mailer I've written a small function to test it /** * @Route('/testmail', name='testmail') */ public function mailAction(\Swift_Mailer $mailer) { $message = (new \Swift_Message('Hello Email')) ->setFrom('[email protected]') -...
Sébastien Grognuz
1

votes
1

answer
47

views

VichUploaderBundle: Disable automatic image render in twig form

How do I disable the automatic image render when using VichUploaderBundle? I am displaying the images separately in my twig form, so do not need VichUploaderBundle to render the image. My code can be seen below: /** * @Route('/testupload', name='testupload') */ public function testUploadAction(Req...
Sébastien Grognuz