> composer create-project sylius/sylius-standard acme
> cd acme
> php bin/console sylius:install
> yarn install
> yarn build
> symfony server:start
php bin/console make:controller … (FantiController)
#config/routes.yaml
fanti:
path: /fanti
controller: App\Controller\FantiController:index
methods: GET
https://localhost:8000/fanti
error: The controller for URI “/fanti” is not callable: Controller “App\Controller\FantiController:index” does neither exist as service nor as class
php bin/console debug:router -> fanti GET ANY ANY /fanti
php bin/console router:match /fanti -> [OK] Route “fanti” matches
php bin/console debug:container fanti --> Service ID App\Controller\FantiController, Class App\Controller\FantiController, Public yes, Autowired yes, Autoconfigured yes
where is error?