Category: symfony-3.3

Class "SymfonyBundleFrameworkBundleControllerController" not found while loading "AppControllerStudentController"

Hi I’m fresher for symfony . when i execute the below code it will show error.i installed all the assets of symfony.help me to clear this..! <?php namespace AppController; use SymfonyComponentHttpFoundationResponse; use SymfonyComponentRoutingAnnotationRoute; use SensioBundleFrameworkExtraBundleConfigurationMethod; use SymfonyBundleFrameworkBundleControllerController; class StudentController extends…

Multi optional parameters in route symfony

I have route like this: * @Route( * “/search/{ro}/{mind}/{his}”, * name=”search”, * requirements={“ro”=”[a-zA-Z]{2,}”, “mind”=”()|new|old”, “his”=”()|yes|ok|no”} * ) if I want this url: /search/yes I need to enter this address: /search///yes to show page. how can remove // from original url?…