-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maintenance] Move the Stack's app related code under the
app/
dire…
…ctory (#5) Every "demo" code like custom Twig Components, controllers, etc. should be placed under the `app/` directory.
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,29 @@ | ||
# Put parameters here that don't need to change on each machine where the app is deployed | ||
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration | ||
parameters: | ||
locale: en_US | ||
|
||
services: | ||
# Default configuration for services in *this* file | ||
_defaults: | ||
autowire: false | ||
autoconfigure: false | ||
# Automatically injects dependencies in your services | ||
autowire: true | ||
|
||
# Automatically registers your services as commands, event subscribers, etc. | ||
autoconfigure: true | ||
|
||
# Allows optimizing the container by removing unused services; this also means | ||
# fetching services directly from the container via $container->get() won't work | ||
public: false | ||
|
||
# Makes classes in src/ available to be used as services; | ||
# this creates a service per class whose id is the fully-qualified class name | ||
App\: | ||
resource: '../app/*' | ||
exclude: '../app/{Entity,Migrations,Tests,Kernel.php}' | ||
|
||
# Controllers are imported separately to make sure services can be injected | ||
# as action arguments even if you don't extend any base controller class | ||
# App\Controller\: | ||
# resource: '../src/Controller' | ||
# tags: ['controller.service_arguments'] |