Category: symfony-3.3

Symfony 3.3.18: Composer Update/Install/Require fire => Out of memory [duplicate]

I’m trying to Upgrade a project from Symfony 3.3. I got this error when I run composer update, composer install after deleting composer.lock and composer require. PHP Fatal error: Out of memory (allocated 1601437696) (tried to allocate 268435456 bytes) in…

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?…