Category: controller

Routing in service and contoller of symfony 3.4

I am a situation that when i create a url in my controller as $projectInvestorDecline = $this->generateUrl( ‘project_investor_decline’, [ ‘project’ => 1, ‘uuid’=>$sucInvestorContact->getUuid() ], UrlGeneratorInterface::ABSOLUTE_URL ); dump($projectInvestorDecline); die; I am getting the output as “http://localhost:8080/app_dev.php/project/decline/1/526f1de7-83d6-11ea-bef1-00e02d4a14d4” which is correct .But when…