18 lines
298 B
Markdown
18 lines
298 B
Markdown
# Controllers
|
|
|
|
## Requirements
|
|
|
|
```bash
|
|
composer require symfony/maker-bundle --dev
|
|
```
|
|
|
|
## Create a Controller
|
|
|
|
```bash
|
|
symfony console make:controller controllerName
|
|
```
|
|
|
|
You don't need to add Controller to the end of the name, make will do that automatically.
|
|
Find your files in src/Controller
|
|
|