我试图运行生产Symfony4应用程序,我收到以下错误: Uncaught TypeError: Return value of Symfony\\Component\\Dotenv\\Dotenv::populate() must be an instance of Symfony\\Component\\Dotenv\\void, none returned in /var/www/html/
我想创建一个基于symfony.com教程的symfony 4用户登录。 我用下面的代码使用了基本的services.yaml文件。 https://symfony.com/doc/current/security/form_login_setup.html public function loginAction(Request $request, \Twig_Environment $twigR
我需要编写一个将用于基于Symfony的多个微服务的包,并且我打算在即将发布的Symfony 4中使用它。法比恩说,it's not recommended to use bundles in Symfony 4。 如何加载我的包的services.yml和config.yml文件而不使用它们? This article描述了如何解决这个问题,但它都是关于使用bundle的。或者他的话不适用于需要