I am studying right now the Symfony 4. I am trying to familiarize myself to this framework. For example in Laravel there's php artisan make:controller PhotoController..
NOTE: I tried
php app/console generate:controller or
php app/console generate:controller <name>
It gives me an error
Could not open input file: app/console
When I tried this
php bin/console generate:controller or php bin/console generate:controller <name>
It gives me an error "There are no commands defined in the generate namespace"
Question: Is there any command that will create a controller with method so that I wont type any more
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;
php bin/console generate:controllerfor generate controller not app/consoleconsole