1. In Symfony, what is opcode caching, and how does it improve performance?
2. What is the Symfony console command used for generating new console commands?
3. In Symfony console commands, what is the purpose of the execute() method?
4. Symfony's Console component provides tools for building command-line applications. What is the primary class used to create console commands?
5. In Symfony, which component allows developers to validate and sanitize data, ensuring it meets specific criteria and constraints?
6. Which Composer command is used to create a new Symfony project?
7. Which Symfony component is responsible for handling HTTP requests and responses?
8. In Symfony, how can you configure the logging behavior, such as log levels and destinations (e.g., file, database)?
9. In Symfony, how can you inject a service into a controller action?
10. Which command is commonly used to deploy a Symfony application to a production server using Symfony Flex?
11. In Symfony, how do you redirect the user to a different URL from a controller action?
12. Which Symfony command is used to list all defined routes in a Symfony application?
13. In Symfony, what is middleware primarily used for?
14. What is a template variable in Symfony views?
15. In Symfony, what is the purpose of the HTTP Cache and how does it work?
16. Which Symfony component is used for optimizing and minifying CSS and JavaScript assets in Symfony applications?
17. Which directory contains the application's configuration files, such as services.yaml and routes.yaml?
18. Symfony is written in which programming language?
19. What is template inheritance in Symfony Twig templates?
20. What is the role of a Symfony API platform in API development?