Skip to content

Commit

Permalink
feat: allow working in src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Oct 5, 2024
1 parent 386aa6c commit ba854b1
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
23 changes: 23 additions & 0 deletions symfony/framework-bundle/6.4/config/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.

# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:

services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# Binding arguments by name or type
# https://symfony.com/doc/current/service_container.html#binding-arguments-by-name-or-type
#bind:
# 'bool $isDebug': '%kernel.debug%'

App\:
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Kernel.php'
9 changes: 9 additions & 0 deletions symfony/framework-bundle/6.4/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bundles": {
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}
Empty file.
5 changes: 5 additions & 0 deletions symfony/routing/6.4/config/routes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
controllers:
resource:

Check failure on line 2 in symfony/routing/6.4/config/routes.yaml

View workflow job for this annotation

GitHub Actions / call-qa / Run checks

Indendation must be a multiple of 4 spaces
path: ../src/Controller/
namespace: App\Controller
type: attribute

Check failure on line 5 in symfony/routing/6.4/config/routes.yaml

View workflow job for this annotation

GitHub Actions / call-qa / Run checks

Indendation must be a multiple of 4 spaces
6 changes: 6 additions & 0 deletions symfony/routing/6.4/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"composer-scripts": {},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

0 comments on commit ba854b1

Please sign in to comment.