Shift resources into app folder

Add autoloading skeleton and classmap for Page.php / PageController.php
This commit is contained in:
Damian Mooyman 2018-04-05 15:17:03 +12:00
parent 30df0f5e43
commit 0b71d14fe1
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
2 changed files with 9 additions and 3 deletions

View File

@ -11,9 +11,16 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7" "phpunit/phpunit": "^5.7"
}, },
"autoload": {
"psr-4": {},
"classmap": [
"app/src/Page.php",
"app/src/PageController.php"
]
},
"extra": { "extra": {
"project-files": [ "project-files": [
"mysite/_config/*", "app/_config/*",
".env.example" ".env.example"
], ],
"public-files": [ "public-files": [
@ -21,8 +28,7 @@
"favicon.ico" "favicon.ico"
], ],
"branch-alias": { "branch-alias": {
"4.x-dev": "4.2.x-dev", "4.x-dev": "4.2.x-dev"
"dev-master": "5.x-dev"
} }
}, },
"config": { "config": {