Closed
Description
I'm following a doc of symonfy 4.2 MicroKernelTrait
Dated: Jan 10 2019 08:45 AM India ISD.
This causing 2 error.
(1/2) ArgumentCountError
Too few arguments to function Symfony\Component\HttpKernel\Kernel::__construct(), 0 passed in /home/sudhakar/SudhakarK/NB/2019/FZFW/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 133 and exactly 2 expected
(2/2) InvalidArgumentException
Controller "Kernel" has required constructor arguments and does not exist in the container. Did you forget to define such a service?
How to reproduce:
I followd the turorial of the mentioned page with 4.2 symfony version.
The error is when running http://localhost:8000/random/10
But http://localhost:8000/ works
Thanks.