mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Rename src to backend
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
ace587b22b
commit
1cab43c7d3
120 changed files with 19 additions and 19 deletions
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"App\\": "core/src/",
|
||||
"App\\": "core/backend/",
|
||||
"App\\Legacy\\": "core/legacy/",
|
||||
"App\\Extension\\": "extensions/"
|
||||
}
|
||||
|
@ -72,7 +72,7 @@
|
|||
]
|
||||
},
|
||||
"extra": {
|
||||
"src-dir": "core/src",
|
||||
"src-dir": "core/backend",
|
||||
"symfony": {
|
||||
"allow-contrib": false,
|
||||
"require": "5.2.*"
|
||||
|
|
|
@ -58,8 +58,8 @@ services:
|
|||
# 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: '../core/src/*'
|
||||
exclude: '../core/src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
|
||||
resource: '../core/backend/*'
|
||||
exclude: '../core/backend/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
|
||||
|
||||
# makes classes in legacy/ available to be used as services
|
||||
# this creates a service per class whose id is the fully-qualified class name
|
||||
|
@ -75,7 +75,7 @@ services:
|
|||
# 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: '../core/src/Controller/*'
|
||||
resource: '../core/backend/Controller/*'
|
||||
tags: [ 'controller.service_arguments' ]
|
||||
|
||||
# add more service definitions when explicit configuration is needed
|
||||
|
|
|
@ -23,6 +23,6 @@ doctrine:
|
|||
App:
|
||||
is_bundle: false
|
||||
type: annotation
|
||||
dir: '%kernel.project_dir%/core/src/Entity'
|
||||
dir: '%kernel.project_dir%/core/backend/Entity'
|
||||
prefix: 'App\Entity'
|
||||
alias: App
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
doctrine_migrations:
|
||||
migrations_paths:
|
||||
'App\Migrations': '%kernel.project_dir%/core/src/Migrations'
|
||||
'App\Migrations': '%kernel.project_dir%/core/backend/Migrations'
|
||||
storage:
|
||||
table_storage:
|
||||
table_name: 'migration_versions'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
controllers:
|
||||
resource: ../../core/src/Controller/
|
||||
resource: ../../core/backend/Controller/
|
||||
type: annotation
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue